GETPID(2) INTERACTIVE UNIX System GETPID(2)
NAME
getpid, getpgrp, getppid - get process, process group, and
parent process IDs
SYNOPSIS
int getpid ()
int getpgrp ()
int getppid ()
DESCRIPTION
The getpid system call returns the process ID of the calling
process.
The getpgrp system call returns the process group ID of the
calling process.
The getppid system call returns the parent process ID of the
calling process.
SEE ALSO
exec(2), fork(2), intro(2), setpgrp(2), signal(2).
Rev. C Software Development Set Page 1