GETPGRP(3) Library Functions Manual GETPGRP(3)
NAME
getpgrp — get the
process group ID of the calling process
SYNOPSIS
#include <sys/types.h> #include <unistd.h> pid_t getpgrp(void);
DESCRIPTION
The getpgrp() function returns the process group ID of the calling process.
RETURN VALUE
The getpgrp() function is always successful and no return value is reserved to indicate an error.
ERRORS
No errors are defined.
EXAMPLES
None.
APPLICATION USAGE
None.
FUTURE DIRECTIONS
None.
SEE ALSO
exec(3) , fork(3) , getpgid(3) , getpid(3) , getppid(3) , kill(3) , setpgid(3) , setsid(3) , <sys/types.h> , <unistd.h> .
DERIVATION
Derived from Issue 1 of the SVID.
February 1997 posix.fail