getppid()

get parent process ID 

Function


SYNOPSIS

#include <sys/types.h>

#include <unistd.h>

pid_t getppid(void);


DESCRIPTION

The getppid() function returns the parent process ID of the calling process.


PARAMETERS

None.


RETURN VALUES

When completed, getppid() returns the parent process ID of the calling process. This call always returns successfully.


CONFORMANCE

POSIX.1 (1996).


MULTITHREAD SAFETY LEVEL

Async-signal-safe.


PORTING ISSUES

None.


AVAILABILITY

MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
_NutForkExecl(), _NutForkExecle(), _NutForkExeclp(), _NutForkExeclpe(), _NutForkExecv(), _NutForkExecve(), _NutForkExecvp(), _NutForkExecvpe(), _NutQueryPid(), execl(), execle(), execlp(), execlpe(), execv(), execve(), execvp(), execvpe(), fork(), getpgid(), getpgrp(), setpgid(), setpgrp(), setsid(), vfork()


MKS Toolkit 9.2 Documentation Build 16.