#include <sys/types.h> #include <qp0wpid.h> pid_t Qp0wGetPPid(void);
The Qp0wGetPPid() function returns the parent process ID of the calling process.
None.
None.
pid_t | The value returned by Qp0wGetPPid() is the process ID of the parent process for the calling process. A process ID value of 1 indicates that there is no parent process associated with the calling process. |
The Qp0wGetPPid() function is always successful and does not return an error.
The Qp0wGetPPid() function provides an i5/OS-specific way to obtain the parent process ID of the calling process. It performs the same function as getppid().
Top | UNIX-Type APIs | APIs by category |