From 652b1e69e91a5089e4e9436459488bcc0bff0fad Mon Sep 17 00:00:00 2001 From: Thorsten Lockert Date: Sat, 29 Mar 1997 20:07:47 +0000 Subject: Document EINVAL; from NetBSD PR 3395 --- lib/libc/sys/setpgid.2 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') 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 -- cgit v1.2.3