GETPID(S) XENIX System V GETPID(S)
Name
getpid, getpgrp, getppid - Gets process, process group, and
parent process IDs.
Syntax
int getpid ()
int getpgrp ()
int getppid ()
Description
getpid returns the process ID of the calling process.
getpgrp returns the process group ID of the calling process.
getppid returns the parent process ID of the calling
process.
See Also
exec(S), fork(S), intro(S), setpgrp(S), signal(S)
Page 1 (printed 8/7/87)