From 0b199c642541c88b1786df5d464c8e1e3961ea73 Mon Sep 17 00:00:00 2001 From: tholo Date: Sat, 29 Mar 1997 20:07:46 +0000 Subject: [PATCH] Document EINVAL; from NetBSD PR 3395 --- lib/libc/sys/setpgid.2 | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.20.1