summaryrefslogtreecommitdiff
path: root/usr/src/man/man3ucb
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3ucb')
-rw-r--r--usr/src/man/man3ucb/dbm.3ucb2
-rw-r--r--usr/src/man/man3ucb/flock.3ucb14
-rw-r--r--usr/src/man/man3ucb/fopen.3ucb14
-rw-r--r--usr/src/man/man3ucb/gettimeofday.3ucb6
-rw-r--r--usr/src/man/man3ucb/mctl.3ucb38
-rw-r--r--usr/src/man/man3ucb/nice.3ucb4
-rw-r--r--usr/src/man/man3ucb/nlist.3ucb2
-rw-r--r--usr/src/man/man3ucb/printf.3ucb24
-rw-r--r--usr/src/man/man3ucb/psignal.3ucb2
-rw-r--r--usr/src/man/man3ucb/rand.3ucb2
-rw-r--r--usr/src/man/man3ucb/readdir.3ucb34
-rw-r--r--usr/src/man/man3ucb/scandir.3ucb2
-rw-r--r--usr/src/man/man3ucb/setjmp.3ucb4
-rw-r--r--usr/src/man/man3ucb/sigblock.3ucb2
-rw-r--r--usr/src/man/man3ucb/siginterrupt.3ucb4
-rw-r--r--usr/src/man/man3ucb/signal.3ucb4
-rw-r--r--usr/src/man/man3ucb/sigstack.3ucb4
-rw-r--r--usr/src/man/man3ucb/sigvec.3ucb72
-rw-r--r--usr/src/man/man3ucb/sleep.3ucb13
-rw-r--r--usr/src/man/man3ucb/syscall.3ucb2
-rw-r--r--usr/src/man/man3ucb/times.3ucb2
-rw-r--r--usr/src/man/man3ucb/wait.3ucb16
22 files changed, 30 insertions, 237 deletions
diff --git a/usr/src/man/man3ucb/dbm.3ucb b/usr/src/man/man3ucb/dbm.3ucb
index 3da661bd4f..b4c5e17518 100644
--- a/usr/src/man/man3ucb/dbm.3ucb
+++ b/usr/src/man/man3ucb/dbm.3ucb
@@ -1,7 +1,7 @@
'\" te
.\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
.\" Copyright (c) 1980 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution.
-.TH dbm 3UCB "30 Oct 2007" "SunOS 5.11" "SunOS/BSD Compatibility Library Functions"
+.TH DBM 3UCB "Oct 30, 2007"
.SH NAME
dbm, dbminit, dbmclose, fetch, store, delete, firstkey, nextkey \- data base
subroutines
diff --git a/usr/src/man/man3ucb/flock.3ucb b/usr/src/man/man3ucb/flock.3ucb
index a838b0a153..8685ce0c7e 100644
--- a/usr/src/man/man3ucb/flock.3ucb
+++ b/usr/src/man/man3ucb/flock.3ucb
@@ -1,7 +1,7 @@
'\" te
.\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
.\" Copyright (c) 1983 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution.
-.TH flock 3UCB "30 Oct 2007" "SunOS 5.11" "SunOS/BSD Compatibility Library Functions"
+.TH FLOCK 3UCB "Oct 30, 2007"
.SH NAME
flock \- apply or remove an advisory lock on an open file
.SH SYNOPSIS
@@ -58,68 +58,56 @@ the error \fBEWOULDBLOCK\fR will be returned.
\fBflock()\fR returns:
.sp
.ne 2
-.mk
.na
\fB\fB0\fR\fR
.ad
.RS 9n
-.rt
on success.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB\(mi1\fR\fR
.ad
.RS 9n
-.rt
on failure and sets \fBerrno\fR to indicate the error.
.RE
.SH ERRORS
.sp
.ne 2
-.mk
.na
\fB\fBEBADF\fR\fR
.ad
.RS 15n
-.rt
The argument \fIfd\fR is an invalid descriptor.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEINVAL\fR\fR
.ad
.RS 15n
-.rt
\fIoperation\fR is not a valid argument.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEOPNOTSUPP\fR\fR
.ad
.RS 15n
-.rt
The argument \fIfd\fR refers to an object other than a file.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEWOULDBLOCK\fR\fR
.ad
.RS 15n
-.rt
The file is locked and the \fBLOCK_NB\fR option was specified.
.RE
diff --git a/usr/src/man/man3ucb/fopen.3ucb b/usr/src/man/man3ucb/fopen.3ucb
index d105dbf210..cef6a501aa 100644
--- a/usr/src/man/man3ucb/fopen.3ucb
+++ b/usr/src/man/man3ucb/fopen.3ucb
@@ -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 fopen 3UCB "30 Oct 2007" "SunOS 5.11" "SunOS/BSD Compatibility Library Functions"
+.TH FOPEN 3UCB "Oct 30, 2007"
.SH NAME
fopen, freopen \- open a stream
.SH SYNOPSIS
@@ -34,67 +34,55 @@ file to be opened. The \fImode\fR argument is a character string having one of
the following values:
.sp
.ne 2
-.mk
.na
\fB\fBr\fR\fR
.ad
.RS 6n
-.rt
open for reading
.RE
.sp
.ne 2
-.mk
.na
\fB\fBw\fR\fR
.ad
.RS 6n
-.rt
truncate or create for writing
.RE
.sp
.ne 2
-.mk
.na
\fB\fBa\fR\fR
.ad
.RS 6n
-.rt
append: open for writing at end of file, or create for writing
.RE
.sp
.ne 2
-.mk
.na
\fB\fBr+\fR\fR
.ad
.RS 6n
-.rt
open for update (reading and writing)
.RE
.sp
.ne 2
-.mk
.na
\fB\fBw+\fR\fR
.ad
.RS 6n
-.rt
truncate or create for update
.RE
.sp
.ne 2
-.mk
.na
\fB\fBa+\fR\fR
.ad
.RS 6n
-.rt
append; open or create for update at \fBEOF\fR
.RE
diff --git a/usr/src/man/man3ucb/gettimeofday.3ucb b/usr/src/man/man3ucb/gettimeofday.3ucb
index 3a946d6576..c4d0c61409 100644
--- a/usr/src/man/man3ucb/gettimeofday.3ucb
+++ b/usr/src/man/man3ucb/gettimeofday.3ucb
@@ -1,7 +1,7 @@
'\" te
.\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
.\" Copyright (c) 1980 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution.
-.TH gettimeofday 3UCB "30 Oct 2007" "SunOS 5.11" "SunOS/BSD Compatibility Library Functions"
+.TH GETTIMEOFDAY 3UCB "Oct 30, 2007"
.SH NAME
gettimeofday, settimeofday \- get or set the date and time
.SH SYNOPSIS
@@ -65,23 +65,19 @@ code is stored in the global variable \fBerrno\fR.
The following error codes may be set in \fBerrno\fR:
.sp
.ne 2
-.mk
.na
\fB\fBEINVAL\fR\fR
.ad
.RS 10n
-.rt
\fItp\fR specifies an invalid time.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEPERM\fR\fR
.ad
.RS 10n
-.rt
A user other than the privileged user attempted to set the time.
.RE
diff --git a/usr/src/man/man3ucb/mctl.3ucb b/usr/src/man/man3ucb/mctl.3ucb
index 0969ece976..eb5ce6942d 100644
--- a/usr/src/man/man3ucb/mctl.3ucb
+++ b/usr/src/man/man3ucb/mctl.3ucb
@@ -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 mctl 3UCB "30 Oct 2007" "SunOS 5.11" "SunOS/BSD Compatibility Library Functions"
+.TH MCTL 3UCB "Oct 30, 2007"
.SH NAME
mctl \- memory management control
.SH SYNOPSIS
@@ -29,12 +29,10 @@ function to be performed is identified by the argument \fIfunction\fR. Valid
functions are defined in \fB<mman.h>\fR as follows:
.sp
.ne 2
-.mk
.na
\fB\fBMC_LOCK\fR\fR
.ad
.RS 15n
-.rt
Lock the pages in the range in memory. This function is used to support
\fBmlock()\fR. See \fBmlock\fR(3C) for semantics and usage. \fIarg\fR is
ignored.
@@ -42,35 +40,29 @@ ignored.
.sp
.ne 2
-.mk
.na
\fB\fBMC_LOCKAS\fR\fR
.ad
.RS 15n
-.rt
Lock the pages in the address space in memory. This function is used to
support \fBmlockall()\fR. See \fBmlockall\fR(3C) for semantics and usage.
\fIaddr\fR and \fIlen\fR are ignored. \fIarg\fR is an integer built from the
flags:
.sp
.ne 2
-.mk
.na
\fB\fBMCL_CURRENT\fR\fR
.ad
.RS 15n
-.rt
Lock current mappings
.RE
.sp
.ne 2
-.mk
.na
\fB\fBMCL_FUTURE\fR\fR
.ad
.RS 15n
-.rt
Lock future mappings
.RE
@@ -78,12 +70,10 @@ Lock future mappings
.sp
.ne 2
-.mk
.na
\fB\fBMC_SYNC\fR\fR
.ad
.RS 15n
-.rt
Synchronize the pages in the range with their backing storage. Optionally
invalidate cache copies. This function is used to support \fBmsync()\fR. See
\fBmsync\fR(3C) for semantics and usage. \fIarg\fR is used to represent the
@@ -91,34 +81,28 @@ invalidate cache copies. This function is used to support \fBmsync()\fR. See
following values:
.sp
.ne 2
-.mk
.na
\fB\fBMS_SYNC\fR\fR
.ad
.RS 17n
-.rt
Synchronized write
.RE
.sp
.ne 2
-.mk
.na
\fB\fBMS_ASYNC\fR\fR
.ad
.RS 17n
-.rt
Return immediately
.RE
.sp
.ne 2
-.mk
.na
\fB\fBMS_INVALIDATE\fR\fR
.ad
.RS 17n
-.rt
Invalidate mappings
.RE
@@ -132,24 +116,20 @@ reference.
.sp
.ne 2
-.mk
.na
\fB\fBMC_UNLOCK\fR\fR
.ad
.RS 15n
-.rt
Unlock the pages in the range. This function is used to support
\fBmunlock()\fR. \fIarg\fR is ignored.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBMC_UNLOCKAS\fR\fR
.ad
.RS 15n
-.rt
Remove address space memory lock, and locks on all current mappings. This
function is used to support \fBmunlockall()\fR. \fIaddr\fR and \fIlen\fR must
have the value 0. \fIarg\fR is ignored.
@@ -165,94 +145,78 @@ have the value 0. \fIarg\fR is ignored.
\fBmctl()\fR fails if:
.sp
.ne 2
-.mk
.na
\fB\fBEAGAIN\fR\fR
.ad
.RS 10n
-.rt
Some or all of the memory identified by the operation could not be locked due
to insufficient system resources.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEBUSY\fR\fR
.ad
.RS 10n
-.rt
\fBMS_INVALIDATE\fR was specified and one or more of the pages is locked in
memory.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEINVAL\fR\fR
.ad
.RS 10n
-.rt
\fIaddr\fR is not a multiple of the page size as returned by
\fBgetpagesize()\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEINVAL\fR\fR
.ad
.RS 10n
-.rt
\fIaddr\fR and/or \fIlen\fR do not have the value 0 when \fBMC_LOCKAS\fR or
\fBMC_UNLOCKAS\fR are specified.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEINVAL\fR\fR
.ad
.RS 10n
-.rt
\fIarg\fR is not valid for the function specified.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEIO\fR\fR
.ad
.RS 10n
-.rt
An I/O error occurred while reading from or writing to the file system.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENOMEM\fR\fR
.ad
.RS 10n
-.rt
Addresses in the range [\fIaddr, addr + len\fR) are invalid for the address
space of a process, or specify one or more pages which are not mapped.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEPERM\fR\fR
.ad
.RS 10n
-.rt
The process's effective user \fBID\fR is not superuser and one of \fBMC_LOCK
MC_LOCKAS\fR, \fBMC_UNLOCK\fR, or \fBMC_UNLOCKAS\fR was specified.
.RE
diff --git a/usr/src/man/man3ucb/nice.3ucb b/usr/src/man/man3ucb/nice.3ucb
index 3ff8c79519..7836414fc3 100644
--- a/usr/src/man/man3ucb/nice.3ucb
+++ b/usr/src/man/man3ucb/nice.3ucb
@@ -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 nice 3UCB "30 Oct 2007" "SunOS 5.11" "SunOS/BSD Compatibility Library Functions"
+.TH NICE 3UCB "Oct 30, 2007"
.SH NAME
nice \- change priority of a process
.SH SYNOPSIS
@@ -47,12 +47,10 @@ Upon successful completion, \fBnice()\fR returns \fB0\fR. Otherwise, a value of
The priority is not changed if:
.sp
.ne 2
-.mk
.na
\fB\fBEPERM\fR\fR
.ad
.RS 9n
-.rt
The value of \fIincr\fR specified was negative, and the effective user \fBID\fR
is not the privileged user.
.RE
diff --git a/usr/src/man/man3ucb/nlist.3ucb b/usr/src/man/man3ucb/nlist.3ucb
index d43ac1a634..0875e3e1f7 100644
--- a/usr/src/man/man3ucb/nlist.3ucb
+++ b/usr/src/man/man3ucb/nlist.3ucb
@@ -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 nlist 3UCB "30 Oct 2007" "SunOS 5.11" "SunOS/BSD Compatibility Library Functions"
+.TH NLIST 3UCB "Oct 30, 2007"
.SH NAME
nlist \- get entries from symbol table
.SH SYNOPSIS
diff --git a/usr/src/man/man3ucb/printf.3ucb b/usr/src/man/man3ucb/printf.3ucb
index cf104cdacc..55dab93751 100644
--- a/usr/src/man/man3ucb/printf.3ucb
+++ b/usr/src/man/man3ucb/printf.3ucb
@@ -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 printf 3UCB "30 Oct 2007" "SunOS 5.11" "SunOS/BSD Compatibility Library Functions"
+.TH PRINTF 3UCB "Oct 30, 2007"
.SH NAME
printf, fprintf, sprintf, vprintf, vfprintf, vsprintf \- formatted output
conversion
@@ -142,35 +142,29 @@ will be changed to zero.
The flag characters and their meanings are:
.sp
.ne 2
-.mk
.na
\fB\fB\(mi\fR\fR
.ad
.RS 9n
-.rt
The result of the conversion will be left-justified within the field.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB+\fR\fR
.ad
.RS 9n
-.rt
The result of a signed conversion will always begin with a sign (\fB+\fR or
\fB\(mi\fR).
.RE
.sp
.ne 2
-.mk
.na
\fBblank\fR
.ad
.RS 9n
-.rt
If the first character of a signed conversion is not a sign, a blank will be
prefixed to the result. This implies that if the blank and \fB+\fR flags both
appear, the blank flag will be ignored.
@@ -178,12 +172,10 @@ appear, the blank flag will be ignored.
.sp
.ne 2
-.mk
.na
\fB\fB#\fR\fR
.ad
.RS 9n
-.rt
This flag specifies that the value is to be converted to an "alternate form."
For \fBc\fR, \fBd\fR, \fBi\fR, \fBs\fR, and \fBu\fR conversions, the flag has
no effect. For \fBo\fR conversion, it increases the precision to force the
@@ -201,12 +193,10 @@ follows it). For \fBg\fR and \fBG\fR conversions, trailing zeroes will
The conversion characters and their meanings are:
.sp
.ne 2
-.mk
.na
\fB\fBd\fR,\fBi\fR,\fBo\fR,\fBu\fR,\fBx\fR,\fBX\fR\fR
.ad
.RS 15n
-.rt
The integer \fIarg\fR is converted to signed decimal (\fBd\fR or \fBi\fR),
unsigned octal (\fBo\fR), unsigned decimal (\fBu\fR), or unsigned hexadecimal
notation (\fBx\fR and \fBX\fR), respectively; the letters \fBabcdef\fR are used
@@ -222,12 +212,10 @@ string.
.sp
.ne 2
-.mk
.na
\fB\fBf\fR\fR
.ad
.RS 15n
-.rt
The float or double \fIarg\fR is converted to decimal notation in the style
[\fB\(mi\fR]\fIddd\fR\fB\&.\fR\fIddd\fR where the number of digits after the
decimal point is equal to the precision specification. If the precision is
@@ -237,12 +225,10 @@ decimal point are printed.
.sp
.ne 2
-.mk
.na
\fB\fBe\fR,\fBE\fR\fR
.ad
.RS 15n
-.rt
The float or double \fIarg\fR is converted in the style
[\fB\(mi\fR]\fId\fR\fB\&.\fR\fIddd\fR\fBe\(+-\fR\fIddd\fR, where there is one
digit before the decimal point and the number of digits after it is equal to
@@ -254,12 +240,10 @@ exponent always contains at least two digits.
.sp
.ne 2
-.mk
.na
\fB\fBg\fR,\fBG\fR\fR
.ad
.RS 15n
-.rt
The float or double \fIarg\fR is printed in style \fBf\fR or \fBe\fR (or in
style \fBE\fR in the case of a \fBG\fR format code), with the precision
specifying the number of significant digits. The style used depends on the
@@ -276,23 +260,19 @@ indeterminate values (infinity or not-a-number) as "Infinity" or "NaN"
respectively.
.sp
.ne 2
-.mk
.na
\fB\fBc\fR\fR
.ad
.RS 5n
-.rt
The character \fIarg\fR is printed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBs\fR\fR
.ad
.RS 5n
-.rt
The \fIarg\fR is taken to be a string (character pointer) and characters from
the string are printed until a \fINULL\fR character (\fB\e0\fR) is encountered
or until the number of characters indicated by the precision specification is
@@ -303,12 +283,10 @@ for \fIarg\fR will yield undefined results.
.sp
.ne 2
-.mk
.na
\fB\fB%\fR\fR
.ad
.RS 5n
-.rt
Print a \fB%\fR; no argument is converted.
.RE
diff --git a/usr/src/man/man3ucb/psignal.3ucb b/usr/src/man/man3ucb/psignal.3ucb
index 786a5ed0d2..e8f3d9c415 100644
--- a/usr/src/man/man3ucb/psignal.3ucb
+++ b/usr/src/man/man3ucb/psignal.3ucb
@@ -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 psignal 3UCB "30 Oct 2007" "SunOS 5.11" "SunOS/BSD Compatibility Library Functions"
+.TH PSIGNAL 3UCB "Oct 30, 2007"
.SH NAME
psignal, sys_siglist \- system signal messages
.SH SYNOPSIS
diff --git a/usr/src/man/man3ucb/rand.3ucb b/usr/src/man/man3ucb/rand.3ucb
index be78f1351e..231d998b91 100644
--- a/usr/src/man/man3ucb/rand.3ucb
+++ b/usr/src/man/man3ucb/rand.3ucb
@@ -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 rand 3UCB "30 Oct 2007" "SunOS 5.11" "SunOS/BSD Compatibility Library Functions"
+.TH RAND 3UCB "Oct 30, 2007"
.SH NAME
rand, srand \- simple random number generator
.SH SYNOPSIS
diff --git a/usr/src/man/man3ucb/readdir.3ucb b/usr/src/man/man3ucb/readdir.3ucb
index 0e27da0595..6dcb92c691 100644
--- a/usr/src/man/man3ucb/readdir.3ucb
+++ b/usr/src/man/man3ucb/readdir.3ucb
@@ -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 readdir 3UCB "30 Oct 2007" "SunOS 5.11" "SunOS/BSD Compatibility Library Functions"
+.TH READDIR 3UCB "Oct 30, 2007"
.SH NAME
readdir \- read a directory entry
.SH SYNOPSIS
@@ -46,127 +46,105 @@ The \fBreaddir()\fR function will fail if one or more of the following are
true:
.sp
.ne 2
-.mk
.na
\fB\fBEAGAIN\fR\fR
.ad
.RS 13n
-.rt
Mandatory file/record locking was set, \fBO_NDELAY\fR or \fBO_NONBLOCK\fR was
set, and there was a blocking record lock.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEAGAIN\fR\fR
.ad
.RS 13n
-.rt
Total amount of system memory available when reading using raw I/O is
temporarily insufficient.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEAGAIN\fR\fR
.ad
.RS 13n
-.rt
No data is waiting to be read on a file associated with a tty device and
\fBO_NONBLOCK\fR was set.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEAGAIN\fR\fR
.ad
.RS 13n
-.rt
No message is waiting to be read on a stream and \fBO_NDELAY\fR or
\fBO_NONBLOCK\fR was set.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEBADF\fR\fR
.ad
.RS 13n
-.rt
The file descriptor determined by the \fBDIR\fR stream is no longer valid. This
results if the \fBDIR\fR stream has been closed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEBADMSG\fR\fR
.ad
.RS 13n
-.rt
Message waiting to be read on a stream is not a data message.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEDEADLK\fR\fR
.ad
.RS 13n
-.rt
The \fBread()\fR was going to go to sleep and cause a deadlock to occur.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEFAULT\fR\fR
.ad
.RS 13n
-.rt
\fIbuf\fR points to an illegal address.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEINTR\fR\fR
.ad
.RS 13n
-.rt
A signal was caught during the \fBread()\fR or \fBreadv()\fR function.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEINVAL\fR\fR
.ad
.RS 13n
-.rt
Attempted to read from a stream linked to a multiplexor.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEIO\fR\fR
.ad
.RS 13n
-.rt
A physical I/O error has occurred, or the process is in a background process
group and is attempting to read from its controlling terminal, and either the
process is ignoring or blocking the \fBSIGTTIN\fR signal or the process group
@@ -175,59 +153,49 @@ of the process is orphaned.
.sp
.ne 2
-.mk
.na
\fB\fBENOENT\fR\fR
.ad
.RS 13n
-.rt
The current file pointer for the directory is not located at a valid entry.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENOLCK\fR\fR
.ad
.RS 13n
-.rt
The system record lock table was full, so the \fBread()\fR or \fBreadv()\fR
could not go to sleep until the blocking record lock was removed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENOLINK\fR\fR
.ad
.RS 13n
-.rt
\fIfildes\fR is on a remote machine and the link to that machine is no longer
active.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENXIO\fR\fR
.ad
.RS 13n
-.rt
The device associated with \fIfildes\fR is a block special or character
special file and the value of the file pointer is out of range.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEOVERFLOW\fR\fR
.ad
.RS 13n
-.rt
The value of the \fBdirect\fR structure member \fBd_ino\fR cannot be
represented in an \fBino_t\fR.
.RE
diff --git a/usr/src/man/man3ucb/scandir.3ucb b/usr/src/man/man3ucb/scandir.3ucb
index 8269e60c60..f72e493132 100644
--- a/usr/src/man/man3ucb/scandir.3ucb
+++ b/usr/src/man/man3ucb/scandir.3ucb
@@ -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 scandir 3UCB "30 Oct 2007" "SunOS 5.11" "SunOS/BSD Compatibility Library Functions"
+.TH SCANDIR 3UCB "Oct 30, 2007"
.SH NAME
scandir, alphasort \- scan a directory
.SH SYNOPSIS
diff --git a/usr/src/man/man3ucb/setjmp.3ucb b/usr/src/man/man3ucb/setjmp.3ucb
index fec0256b8b..1d20931cf3 100644
--- a/usr/src/man/man3ucb/setjmp.3ucb
+++ b/usr/src/man/man3ucb/setjmp.3ucb
@@ -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 setjmp 3UCB "7 Apr 1993" "SunOS 5.11" "SunOS/BSD Compatibility Library Functions"
+.TH SETJMP 3UCB "Apr 7, 1993"
.SH NAME
setjmp, longjmp, _setjmp, _longjmp \- non-local goto
.SH SYNOPSIS
@@ -148,7 +148,7 @@ and the output will be:
.sp
.in +2
.nf
-longjumped from alarm
+longjumped from alarm
.fi
.in -2
diff --git a/usr/src/man/man3ucb/sigblock.3ucb b/usr/src/man/man3ucb/sigblock.3ucb
index 41b93589bd..1ca228ee45 100644
--- a/usr/src/man/man3ucb/sigblock.3ucb
+++ b/usr/src/man/man3ucb/sigblock.3ucb
@@ -1,7 +1,7 @@
'\" te
.\" Copyright (c) 2007 Sun Microsystems, Inc. All Rights Reserved.
.\" Copyright (c) 1983 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution.
-.TH sigblock 3UCB "30 Oct 2007" "SunOS 5.11" "SunOS/BSD Compatibility Library Functions"
+.TH SIGBLOCK 3UCB "Oct 30, 2007"
.SH NAME
sigblock, sigmask, sigpause, sigsetmask \- block signals
.SH SYNOPSIS
diff --git a/usr/src/man/man3ucb/siginterrupt.3ucb b/usr/src/man/man3ucb/siginterrupt.3ucb
index ffd5f7c09a..24b0d58230 100644
--- a/usr/src/man/man3ucb/siginterrupt.3ucb
+++ b/usr/src/man/man3ucb/siginterrupt.3ucb
@@ -1,7 +1,7 @@
'\" te
.\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
.\" Copyright (c) 1985 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution.
-.TH siginterrupt 3UCB "30 Oct 2007" "SunOS 5.11" "SunOS/BSD Compatibility Library Functions"
+.TH SIGINTERRUPT 3UCB "Oct 30, 2007"
.SH NAME
siginterrupt \- allow signals to interrupt functions
.SH SYNOPSIS
@@ -43,12 +43,10 @@ indicates that the call failed and \fBerrno\fR is set to indicate the error.
\fBsiginterrupt()\fR may return the following error:
.sp
.ne 2
-.mk
.na
\fB\fBEINVAL\fR\fR
.ad
.RS 10n
-.rt
\fIsig\fR is not a valid signal.
.RE
diff --git a/usr/src/man/man3ucb/signal.3ucb b/usr/src/man/man3ucb/signal.3ucb
index 20e5376a4a..5bd748c45b 100644
--- a/usr/src/man/man3ucb/signal.3ucb
+++ b/usr/src/man/man3ucb/signal.3ucb
@@ -1,7 +1,7 @@
'\" te
.\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
.\" Copyright (c) 1980 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution.
-.TH signal 3UCB "30 Oct 2007" "SunOS 5.11" "SunOS/BSD Compatibility Library Functions"
+.TH SIGNAL 3UCB "Oct 30, 2007"
.SH NAME
signal \- simplified software signal facilities
.SH SYNOPSIS
@@ -75,12 +75,10 @@ returned and \fBerrno\fR is set to indicate the error.
\fBsignal()\fR will fail and no action will take place if the following occurs:
.sp
.ne 2
-.mk
.na
\fB\fBEINVAL\fR\fR
.ad
.RS 10n
-.rt
\fIsig\fR is not a valid signal number, or is \fBSIGKILL\fR or \fBSIGSTOP\fR.
.RE
diff --git a/usr/src/man/man3ucb/sigstack.3ucb b/usr/src/man/man3ucb/sigstack.3ucb
index 0964ca461a..733c5db1d3 100644
--- a/usr/src/man/man3ucb/sigstack.3ucb
+++ b/usr/src/man/man3ucb/sigstack.3ucb
@@ -1,7 +1,7 @@
'\" te
.\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
.\" Copyright (c) 1983 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution.
-.TH sigstack 3UCB "30 Oct 2007" "SunOS 5.11" "SunOS/BSD Compatibility Library Functions"
+.TH SIGSTACK 3UCB "Oct 30, 2007"
.SH NAME
sigstack \- set and/or get signal stack context
.SH SYNOPSIS
@@ -63,12 +63,10 @@ The \fBsigstack()\fR function will fail and the signal stack context will
remain unchanged if one of the following occurs.
.sp
.ne 2
-.mk
.na
\fB\fBEFAULT\fR\fR
.ad
.RS 10n
-.rt
Either \fInss\fR or \fIoss\fR points to memory that is not a valid part of the
process address space.
.RE
diff --git a/usr/src/man/man3ucb/sigvec.3ucb b/usr/src/man/man3ucb/sigvec.3ucb
index 1747403d92..a1b0119139 100644
--- a/usr/src/man/man3ucb/sigvec.3ucb
+++ b/usr/src/man/man3ucb/sigvec.3ucb
@@ -1,7 +1,7 @@
'\" te
.\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
.\" Copyright (c) 1980 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution.
-.TH sigvec 3UCB "30 Oct 2007" "SunOS 5.11" "SunOS/BSD Compatibility Library Functions"
+.TH SIGVEC 3UCB "Oct 30, 2007"
.SH NAME
sigvec \- software signal facilities
.SH SYNOPSIS
@@ -69,9 +69,9 @@ void (*sv_handler)(\|); /* signal handler */
int sv_mask; /* signal mask to apply */
int sv_flags; /* see signal options */
#define SV_ONSTACK /* take signal on signal stack */
-#define SV_INTERRUPT /* do not restart system on signal
+#define SV_INTERRUPT /* do not restart system on signal
return */
-#define SV_RESETHAND /* reset handler to SIG_DFL when
+#define SV_RESETHAND /* reset handler to SIG_DFL when
signal taken*/
.fi
.in -2
@@ -105,342 +105,280 @@ The following is a list of all signals with names as in the include file
\fB<signal.h>\fR:
.sp
.ne 2
-.mk
.na
\fB\fBSIGHUP\fR\fR
.ad
.RS 13n
-.rt
hangup
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGINT\fR\fR
.ad
.RS 13n
-.rt
interrupt
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGQUIT\fR*\fR
.ad
.RS 13n
-.rt
quit
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGILL\fR*\fR
.ad
.RS 13n
-.rt
illegal instruction
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGTRAP\fR*\fR
.ad
.RS 13n
-.rt
trace trap
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGABRT\fR*\fR
.ad
.RS 13n
-.rt
abort (generated by \fBabort\fR(3C) routine)
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGEMT\fR*\fR
.ad
.RS 13n
-.rt
emulator trap
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGFPE\fR*\fR
.ad
.RS 13n
-.rt
arithmetic exception
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGKILL\fR\fR
.ad
.RS 13n
-.rt
kill (cannot be caught, blocked, or ignored)
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGBUS\fR*\fR
.ad
.RS 13n
-.rt
bus error
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGSEGV\fR*\fR
.ad
.RS 13n
-.rt
segmentation violation
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGSYS\fR*\fR
.ad
.RS 13n
-.rt
bad argument to function
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGPIPE\fR\fR
.ad
.RS 13n
-.rt
write on a pipe or other socket with no one to read it
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGALRM\fR\fR
.ad
.RS 13n
-.rt
alarm clock
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGTERM\fR\fR
.ad
.RS 13n
-.rt
software termination signal
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGURG\fR*\fR
.ad
.RS 13n
-.rt
urgent condition present on socket
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGSTOP\fR**\fR
.ad
.RS 13n
-.rt
stop (cannot be caught, blocked, or ignored)
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGTSTP\fR**\fR
.ad
.RS 13n
-.rt
stop signal generated from keyboard
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGCONT\fR*\fR
.ad
.RS 13n
-.rt
continue after stop (cannot be blocked)
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGCHLD\fR*\fR
.ad
.RS 13n
-.rt
child status has changed
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGTTIN\fR**\fR
.ad
.RS 13n
-.rt
background read attempted from control terminal
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGTTOU\fR**\fR
.ad
.RS 13n
-.rt
background write attempted to control terminal
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGIO\fR*\fR
.ad
.RS 13n
-.rt
I/O is possible on a descriptor (see \fBfcntl\fR(2))
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGXCPU\fR\fR
.ad
.RS 13n
-.rt
cpu time limit exceeded (see \fBgetrlimit\fR(2))
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGXFSZ\fR\fR
.ad
.RS 13n
-.rt
file size limit exceeded (see \fBgetrlimit\fR(2))
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGVTALRM\fR\fR
.ad
.RS 13n
-.rt
virtual time alarm; see \fBsetitimer()\fR on \fBgetitimer\fR(2)
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGPROF\fR\fR
.ad
.RS 13n
-.rt
profiling timer alarm; see \fBsetitimer()\fR on \fBgetitimer\fR(2)
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGWINCH\fR*\fR
.ad
.RS 13n
-.rt
window changed (see \fBtermio\fR(7I))
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGLOST\fR\fR
.ad
.RS 13n
-.rt
resource lost (see \fBlockd\fR(1M))
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGUSR1\fR\fR
.ad
.RS 13n
-.rt
user-defined signal 1
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSIGUSR2\fR\fR
.ad
.RS 13n
-.rt
user-defined signal 2
.RE
@@ -511,24 +449,20 @@ indicates that an error occurred and \fBerrno\fR is set to indicate the reason.
the following occurs:
.sp
.ne 2
-.mk
.na
\fB\fBEFAULT\fR\fR
.ad
.RS 10n
-.rt
Either \fInvec\fR or \fIovec\fR is not a \fINULL\fR pointer and points to
memory that is not a valid part of the process address space.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEINVAL\fR\fR
.ad
.RS 10n
-.rt
\fIsig\fR is not a valid signal number or is \fBSIGKILL\fR or \fBSIGSTOP\fR.
.RE
diff --git a/usr/src/man/man3ucb/sleep.3ucb b/usr/src/man/man3ucb/sleep.3ucb
index 072387b25c..4cae187a15 100644
--- a/usr/src/man/man3ucb/sleep.3ucb
+++ b/usr/src/man/man3ucb/sleep.3ucb
@@ -1,7 +1,7 @@
'\" te
.\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
.\" Copyright (c) 1980 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution.
-.TH sleep 3UCB "30 Oct 2007" "SunOS 5.11" "SunOS/BSD Compatibility Library Functions"
+.TH SLEEP 3UCB "Oct 30, 2007"
.SH NAME
sleep \- suspend execution for interval
.SH SYNOPSIS
@@ -36,13 +36,12 @@ 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
_
-MT-LevelAsync-Signal-Safe
+MT-Level Async-Signal-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3ucb/syscall.3ucb b/usr/src/man/man3ucb/syscall.3ucb
index e936521f3d..f7438d3484 100644
--- a/usr/src/man/man3ucb/syscall.3ucb
+++ b/usr/src/man/man3ucb/syscall.3ucb
@@ -1,7 +1,7 @@
'\" te
.\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
.\" Copyright (c) 1980 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution.
-.TH syscall 3UCB "30 Oct 2007" "SunOS 5.11" "SunOS/BSD Compatibility Library Functions"
+.TH SYSCALL 3UCB "Oct 30, 2007"
.SH NAME
syscall \- indirect system call
.SH SYNOPSIS
diff --git a/usr/src/man/man3ucb/times.3ucb b/usr/src/man/man3ucb/times.3ucb
index 8d98707ee5..37fec3acb7 100644
--- a/usr/src/man/man3ucb/times.3ucb
+++ b/usr/src/man/man3ucb/times.3ucb
@@ -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 times 3UCB "30 Oct 2007" "SunOS 5.11" "SunOS/BSD Compatibility Library Functions"
+.TH TIMES 3UCB "Oct 30, 2007"
.SH NAME
times \- get process times
.SH SYNOPSIS
diff --git a/usr/src/man/man3ucb/wait.3ucb b/usr/src/man/man3ucb/wait.3ucb
index a685d47b69..24e23f8c57 100644
--- a/usr/src/man/man3ucb/wait.3ucb
+++ b/usr/src/man/man3ucb/wait.3ucb
@@ -1,7 +1,7 @@
'\" te
.\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
.\" Copyright (c) 1980 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution.
-.TH wait 3UCB "30 Oct 2007" "SunOS 5.11" "SunOS/BSD Compatibility Library Functions"
+.TH WAIT 3UCB "Oct 30, 2007"
.SH NAME
wait, wait3, wait4, waitpid, WIFSTOPPED, WIFSIGNALED, WIFEXITED \- wait for
process to terminate or stop
@@ -152,12 +152,10 @@ whose process group \fBID\fR is equal to the absolute value of \fIpid\fR.
more of the following flags, defined in the header \fB<sys/wait.h>\fR:
.sp
.ne 2
-.mk
.na
\fB\fBWNOHANG\fR\fR
.ad
.RS 13n
-.rt
\fBwaitpid()\fR does not suspend execution of the calling process if status is
not immediately available for one of the child processes specified by
\fIpid\fR.
@@ -165,12 +163,10 @@ not immediately available for one of the child processes specified by
.sp
.ne 2
-.mk
.na
\fB\fBWUNTRACED\fR\fR
.ad
.RS 13n
-.rt
The status of any child processes specified by \fIpid\fR that are stopped, and
whose status has not yet been reported since they stopped, are also reported to
the requesting process.
@@ -241,23 +237,19 @@ The \fBwait()\fR, \fBwait3()\fR and \fBwait4()\fR functions will fail and
return immediately if:
.sp
.ne 2
-.mk
.na
\fB\fBECHILD\fR\fR
.ad
.RS 10n
-.rt
The calling process has no existing unwaited-for child processes.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEFAULT\fR\fR
.ad
.RS 10n
-.rt
The \fIstatus\fR or \fIrusage\fR arguments point to an illegal address.
.RE
@@ -266,36 +258,30 @@ The \fIstatus\fR or \fIrusage\fR arguments point to an illegal address.
\fBwaitpid()\fR may set \fBerrno\fR to:
.sp
.ne 2
-.mk
.na
\fB\fBECHILD\fR\fR
.ad
.RS 10n
-.rt
The process or process group specified by \fIpid\fR does not exist or is not a
child of the calling process.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEINTR\fR\fR
.ad
.RS 10n
-.rt
The function was interrupted by a signal. The value of the location pointed to
by \fIstatusp\fR is undefined.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEINVAL\fR\fR
.ad
.RS 10n
-.rt
The value of \fIoptions\fR is not valid.
.RE