From: tholo Date: Sat, 29 Mar 1997 20:07:46 +0000 (+0000) Subject: Document EINVAL; from NetBSD PR 3395 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0b199c642541c88b1786df5d464c8e1e3961ea73;p=openbsd Document EINVAL; from NetBSD PR 3395 --- 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