diff options
Diffstat (limited to 'lib/libc/sys/setpgid.2')
-rw-r--r-- | lib/libc/sys/setpgid.2 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/sys/setpgid.2 b/lib/libc/sys/setpgid.2 index 17479fb783f..cca08b54f88 100644 --- a/lib/libc/sys/setpgid.2 +++ b/lib/libc/sys/setpgid.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: setpgid.2,v 1.6 1999/05/23 14:10:56 aaron Exp $ +.\" $OpenBSD: setpgid.2,v 1.7 1999/06/29 14:10:19 aaron Exp $ .\" $NetBSD: setpgid.2,v 1.8 1995/02/27 12:36:55 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -63,7 +63,7 @@ of the invoking process. .Sh RETURN VALUES .Fn setpgid returns 0 when the operation was successful. -If the request failed, -1 is returned and the global variable +If the request failed, \-1 is returned and the global variable .Va errno indicates the reason. .Sh ERRORS @@ -73,7 +73,7 @@ will fail and the process group will not be altered if: .It Bq Er EACCES The value of the .Fa pid -argument matches the process ID of a child process of the calling process, +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 @@ -84,9 +84,9 @@ The effective user ID of the requested process is different from that of the caller and the process is not a descendant of the calling process. .It Bq Er ESRCH -The value of the -.Fa pid -argument does not match the process ID of the calling process or of a +The value of the +.Fa pid +argument does not match the process ID of the calling process or of a child process of the calling process. .El .Sh SEE ALSO @@ -94,7 +94,7 @@ child process of the calling process. .Sh STANDARDS The .Fn setpgid -function conforms to +function conforms to .St -p1003.1-88 . .Sh COMPATIBILITY .Fn setpgrp |