summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1997-03-29 20:07:47 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1997-03-29 20:07:47 +0000
commit652b1e69e91a5089e4e9436459488bcc0bff0fad (patch)
treecebfc32242c9094ed89cdc853f1180a944c07475 /lib
parentc8c756044af1797dcc6ae28c62ef1228cb4c6e9e (diff)
Document EINVAL; from NetBSD PR 3395
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/setpgid.24
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/sys/setpgid.2 b/lib/libc/sys/setpgid.2
index 6b2cdbd9462..1842d5e1fb5 100644
--- a/lib/libc/sys/setpgid.2
+++ b/lib/libc/sys/setpgid.2
@@ -74,6 +74,10 @@ The value of the
.Fa pid
argument matches the process ID of a child process of the calling process,
and the child process has successfully executed one of the exec functions.
+.It Bq Er EINVAL
+The value of the
+.Fa pgrp
+argument is less than zero.
.It Bq Er EPERM
The effective user ID of the requested process is different
from that of the caller and the process is not a descendant