what is pid_t in linux?
The pid_t data type is a signed integer type which is capable of representing a process ID. In the GNU C Library, this is an int . Function: pid_t getpid (void) The getpid function returns the process ID of the current process.