aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/setpgid.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/setpgid.2')
-rw-r--r--lib/libc/sys/setpgid.25
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/sys/setpgid.2 b/lib/libc/sys/setpgid.2
index a56d83123d39..4ad89de3263f 100644
--- a/lib/libc/sys/setpgid.2
+++ b/lib/libc/sys/setpgid.2
@@ -54,6 +54,11 @@ to the specified
If
.Fa pid
is zero, then the call applies to the current process.
+If
+.Fa pgrp
+is zero, then the process id of the process specified by
+.Fa pid
+is used instead.
.Pp
If the affected process is not the invoking process, then it must be a
child of the invoking process, it must not have performed an