summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1997-08-19 07:04:43 +0000
committerPeter Wemm <peter@FreeBSD.org>1997-08-19 07:04:43 +0000
commit4ff76833b4a2d217f1fdbb4ed753a342824a470a (patch)
tree6a8daf380d522bb65ec113327a11cdc852f00aba /lib
parentff31b5e404329cc9746080275ecd5d7cc0c0f7f5 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/getpgrp.25
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/sys/getpgrp.2 b/lib/libc/sys/getpgrp.2
index 6e9d1e4d2119..ff43c0be2f23 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