getpgrp (ULTRIX) getpgrp (ULTRIX)
NAME
getpgrp, getpid, setpgid, setpgrp - Gets the process group ID
DIFFERENCES
On ULTRIX systems, the default definition of the getpgrp() system call
is:
int getpgrp(pid t, pid_t)
The POSIX-conformant definition of getpgrp() on Digital UNIX systems
states that getpgrp() is called without arguments and returns the
process group of the current process:
pid t = getpgrp();
The ULTRIX system's mechanism for setting a process's group ID is:
void = setpgrp(int, int);
This system call is supported on Digital UNIX systems for compatibility
only. In new applications, use the POSIX-standard setgpid() call:
pid t = setpgid(pid t);
RELATED INFORMATION
Digital UNIX Functions:
getpgrp(2), getpid(2), getppid(2) delim off
getpgrp (ULTRIX)