GETPID(2-SysV) RISC/os Reference Manual GETPID(2-SysV)
NAME
getpid, getpgrp, getppid - get process, process group, and
parent process IDs
SYNOPSIS
#include <bsd/sys/types.h>
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 pro-
cess.
SEE ALSO
exec(2), fork(2), intro(2), setpgrp(2), signal(2).
Printed 1/15/91 Page 1