HomeManualTopicsTypesSymbols

std::getppid

returns the parent process ID

Parameters

None

Result

id: an integer describing the parent process ID

Description

This function needs I/O-access rights.

Topic

POSIX

See also

std::getpid returns the process ID
std::getuid returns the real user ID
std::getgid returns the real group ID