*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: getpgid | Section: 2 | Source: Digital UNIX | File: getpgid.2.gz
getpgid(2) System Calls Manual getpgid(2) NAME getpgid - Gets process group ID LIBRARY Standard C Library (libc.a) SYNOPSIS #include <sys/types.h> #include <unistd.h> pid_t getpgid( pid_t pid); PARAMETERS Specifies the process ID of the target process; zero implies the call- ing process. DESCRIPTION The getpgid() function returns the process group ID of the process specified by the process ID pid. Specifying a pid of 0 (zero) returns the process group ID of the calling process. RETURN VALUES The getpgid() function returns the process group ID of the process specified. If there was an error, a value of -1 is returned and errno is set to indicate the error. ERRORS If any of the following conditions occurs, the getpgid() function sets errno to the corresponding value: The specified process is not in the same session as the calling process, and the calling process lacks suf- ficient privilege to read the specified process. As released, DIGITAL UNIX does not check the privilege. No process has been found that has a process ID identical to that specified by the pid parameter. RELATED INFORMATION Functions: exec(2), fork(2), setpgid(2) delim off getpgid(2)

Navigation Options