diff options
author | peter <peter@FreeBSD.org> | 1997-08-19 07:04:43 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-08-19 07:04:43 +0000 |
commit | b40bf7afa234c2c3004ea892d3805a4a7a21ff02 (patch) | |
tree | 1051d9611749078d26eeace0dad6f4cf3ba6be4d /lib/libc/sys/getpgrp.2 | |
parent | 4ca1f3fe2ff8665fdf0ee06ab7e377996a5054e0 (diff) | |
download | FreeBSD-src-b40bf7afa234c2c3004ea892d3805a4a7a21ff02.zip FreeBSD-src-b40bf7afa234c2c3004ea892d3805a4a7a21ff02.tar.gz |
Forgot to mention what getpgid(0) does.
Diffstat (limited to 'lib/libc/sys/getpgrp.2')
-rw-r--r-- | lib/libc/sys/getpgrp.2 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/sys/getpgrp.2 b/lib/libc/sys/getpgrp.2 index 6e9d1e4..ff43c0b 100644 --- a/lib/libc/sys/getpgrp.2 +++ b/lib/libc/sys/getpgrp.2 @@ -50,6 +50,11 @@ The process group of the process identified by .Fa pid is returned by .Fn getpgid . +If +.Fa pid +is zero, +.Fn getpgid +returns the process group of the current process. .Pp Process groups are used for distribution of signals, and by terminals to arbitrate requests for their input: processes |