getpid [ MPE/iX Developer's Kit Reference Manual Volume I ] MPE/iX 5.0 Documentation
MPE/iX Developer's Kit Reference Manual Volume I
getpid
Returns the process ID.
Syntax
#include <sys/types.h>
#include <unistd.h>
pid_t getpid (void);
Parameters
None.
Return Values
The process ID of the calling process.
Description
The getpid() function returns the process ID (PID) of the calling
process.
Implementation Considerations
None.
Errors
None.
See Also
getppid(), execl(), execv(), fork(), kill(), POSIX.1 (Section 4.1.1)
MPE/iX 5.0 Documentation