A process is an instance of an executing program, that has a unique process ID. This process ID is used by many functions and system calls to interact with and manipulate processes. In order to retrieve the current process’ ID, you can use the system call getpid
(man 2 getpid
)
- Language: C
- OS: Ubuntu 20.04 LTS
- Editor: VIM 8.1.2269
- Compiler: gcc 9.3.0
- Style guidelines: Betty style
Ronald Rivero