diff options
Diffstat (limited to 'usr/src/man/man2/setpgid.2')
-rw-r--r-- | usr/src/man/man2/setpgid.2 | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/usr/src/man/man2/setpgid.2 b/usr/src/man/man2/setpgid.2 index f7ded83fb2..a97e7691b1 100644 --- a/usr/src/man/man2/setpgid.2 +++ b/usr/src/man/man2/setpgid.2 @@ -3,7 +3,7 @@ .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] -.TH setpgid 2 "28 Dec 1996" "SunOS 5.11" "System Calls" +.TH SETPGID 2 "Dec 28, 1996" .SH NAME setpgid \- set process group ID .SH SYNOPSIS @@ -45,12 +45,10 @@ returned and \fBerrno\fR is set to indicate the error. The \fBsetpgid()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 10n -.rt The \fIpid\fR argument matches the process \fBID\fR of a child process of the calling process and the child process has successfully executed one of the \fIexec\fR family of functions (see \fBexec\fR(2)). @@ -58,12 +56,10 @@ calling process and the child process has successfully executed one of the .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIpgid\fR argument is less than (\fBpid_t) 0\fR or greater than or equal to \fBPID_MAX\fR, or the calling process has a controlling terminal that does not support job control. @@ -71,23 +67,19 @@ not support job control. .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The process indicated by the \fIpid\fR argument is a session leader. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The \fIpid\fR argument matches the process \fBID\fR of a child process of the calling process and the child process is not in the same session as the calling process. @@ -95,12 +87,10 @@ process. .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The \fIpgid\fR argument does not match the process \fBID\fR of the process indicated by the \fIpid\fR argument, and there is no process with a process group \fBID\fR that matches \fIpgid\fR in the same session as the calling @@ -109,12 +99,10 @@ process. .sp .ne 2 -.mk .na \fB\fBESRCH\fR\fR .ad .RS 10n -.rt The \fIpid\fR argument does not match the process \fBID\fR of the calling process or of a child process of the calling process. .RE @@ -127,15 +115,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe .TE .SH SEE ALSO |