summaryrefslogtreecommitdiff
path: root/usr/src/man/man2/getpid.2
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man2/getpid.2')
-rw-r--r--usr/src/man/man2/getpid.223
1 files changed, 8 insertions, 15 deletions
diff --git a/usr/src/man/man2/getpid.2 b/usr/src/man/man2/getpid.2
index 35f91af4aa..802c4dcc9d 100644
--- a/usr/src/man/man2/getpid.2
+++ b/usr/src/man/man2/getpid.2
@@ -10,7 +10,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 getpid 2 "27 Jan 2009" "SunOS 5.11" "System Calls"
+.TH GETPID 2 "Jan 27, 2009"
.SH NAME
getpid, getpgrp, getppid, getpgid \- get process, process group, and parent
process IDs
@@ -71,12 +71,10 @@ indicate the error.
The \fBgetpgid()\fR function will fail if:
.sp
.ne 2
-.mk
.na
\fB\fBEPERM\fR\fR
.ad
.RS 9n
-.rt
The process whose process \fBID\fR is equal to \fIpid\fR is not in the same
session as the calling process, and the implementation does not allow access to
the process group \fBID\fR of that process from the calling process.
@@ -84,12 +82,10 @@ the process group \fBID\fR of that process from the calling process.
.sp
.ne 2
-.mk
.na
\fB\fBESRCH\fR\fR
.ad
.RS 9n
-.rt
There is no process with a process \fBID\fR equal to \fIpid\fR.
.RE
@@ -98,12 +94,10 @@ There is no process with a process \fBID\fR equal to \fIpid\fR.
The \fBgetpgid()\fR function may fail if:
.sp
.ne 2
-.mk
.na
\fB\fBEINVAL\fR\fR
.ad
.RS 10n
-.rt
The value of the \fIpid\fR argument is invalid.
.RE
@@ -115,17 +109,16 @@ 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 StabilityCommitted
+Interface Stability Committed
_
-MT-LevelAsync-Signal-Safe
+MT-Level Async-Signal-Safe
_
-StandardSee \fBstandards\fR(5).
+Standard See \fBstandards\fR(5).
.TE
.SH SEE ALSO