getpgrp(2) DG/UX 4.30 getpgrp(2)
NAME
getpgrp - Get process group ID.
SYNOPSIS
#include <sys/types.h>
pid_t getpgrp ( )
DESCRIPTION
The getpgrp() function returns the process group ID of the
calling process.
RETURNS
See DESCRIPTION.
ERRORS
The getpgrp() function is always successful, and no return
value is reserved to indicate an error.
SEE ALSO
setpgid(2), setpgrp(2), setsid(2), sigaction(2)
COPYRIGHTS
Portions of this text are reprinted from IEEE Std 1003.1-
1988, Portable Operating System Interface for Computer
Environment, copyright © 1988 by the Institute of Electrical
and Electronics Engineers, Inc., with the permission of the
IEEE Standards Department. To purchase IEEE Standards, call
800/678-IEEE.
In the event of a discrepancy between the electronic and the
original printed version, the original version takes
precedence.
Licensed material--property of copyright holder(s) Page 1