summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-11-17 13:00:00 +0000
committerru <ru@FreeBSD.org>2005-11-17 13:00:00 +0000
commit928d297eeb1b1084c1525eb3aba0cee109fed2b6 (patch)
tree8357787c5962631f6dc96a7483518171f91c2b20 /lib/libc
parentbe367893cde807eabde21d3c27468e630a24c071 (diff)
downloadFreeBSD-src-928d297eeb1b1084c1525eb3aba0cee109fed2b6.zip
FreeBSD-src-928d297eeb1b1084c1525eb3aba0cee109fed2b6.tar.gz
-mdoc sweep.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/locale/isalnum.32
-rw-r--r--lib/libc/locale/isalpha.32
-rw-r--r--lib/libc/locale/isblank.32
-rw-r--r--lib/libc/locale/iscntrl.32
-rw-r--r--lib/libc/locale/isdigit.32
-rw-r--r--lib/libc/locale/isgraph.32
-rw-r--r--lib/libc/locale/islower.32
-rw-r--r--lib/libc/locale/isprint.32
-rw-r--r--lib/libc/locale/ispunct.32
-rw-r--r--lib/libc/locale/isspace.32
-rw-r--r--lib/libc/locale/isupper.32
-rw-r--r--lib/libc/locale/isxdigit.32
-rw-r--r--lib/libc/locale/tolower.32
-rw-r--r--lib/libc/locale/toupper.32
-rw-r--r--lib/libc/posix1e/acl_get_entry.32
-rw-r--r--lib/libc/sys/mmap.27
-rw-r--r--lib/libc/sys/read.22
-rw-r--r--lib/libc/sys/recv.22
-rw-r--r--lib/libc/sys/sendfile.22
-rw-r--r--lib/libc/sys/sigwait.220
-rw-r--r--lib/libc/sys/wait.222
-rw-r--r--lib/libc/sys/write.22
22 files changed, 52 insertions, 35 deletions
diff --git a/lib/libc/locale/isalnum.3 b/lib/libc/locale/isalnum.3
index 02e2dd2..d550485 100644
--- a/lib/libc/locale/isalnum.3
+++ b/lib/libc/locale/isalnum.3
@@ -57,7 +57,7 @@ or
.Xr isdigit 3
is true.
The value of the argument must be representable as an
-.Vt unsigned char
+.Vt "unsigned char"
or the value of
.Dv EOF .
.Pp
diff --git a/lib/libc/locale/isalpha.3 b/lib/libc/locale/isalpha.3
index 0959149..1996059 100644
--- a/lib/libc/locale/isalpha.3
+++ b/lib/libc/locale/isalpha.3
@@ -57,7 +57,7 @@ or
.Xr islower 3
is true.
The value of the argument must be representable as an
-.Vt unsigned char
+.Vt "unsigned char"
or the value of
.Dv EOF .
.Pp
diff --git a/lib/libc/locale/isblank.3 b/lib/libc/locale/isblank.3
index a027cd6..2af673a 100644
--- a/lib/libc/locale/isblank.3
+++ b/lib/libc/locale/isblank.3
@@ -58,7 +58,7 @@ In the "C" locale
.Fn isblank
successful test is limited to this characters only.
The value of the argument must be representable as an
-.Vt unsigned char
+.Vt "unsigned char"
or the value of
.Dv EOF .
.Sh RETURN VALUES
diff --git a/lib/libc/locale/iscntrl.3 b/lib/libc/locale/iscntrl.3
index 25e8954..e8b537b 100644
--- a/lib/libc/locale/iscntrl.3
+++ b/lib/libc/locale/iscntrl.3
@@ -53,7 +53,7 @@ The
.Fn iscntrl
function tests for any control character.
The value of the argument must be representable as an
-.Vt unsigned char
+.Vt "unsigned char"
or the value of
.Dv EOF .
.Pp
diff --git a/lib/libc/locale/isdigit.3 b/lib/libc/locale/isdigit.3
index 2505743..8bcf083 100644
--- a/lib/libc/locale/isdigit.3
+++ b/lib/libc/locale/isdigit.3
@@ -69,7 +69,7 @@ but may recognize additional characters, depending on the current locale
setting.
.Pp
The value of the argument must be representable as an
-.Vt unsigned char
+.Vt "unsigned char"
or the value of
.Dv EOF .
.Sh RETURN VALUES
diff --git a/lib/libc/locale/isgraph.3 b/lib/libc/locale/isgraph.3
index 632610b..f5cc2eb 100644
--- a/lib/libc/locale/isgraph.3
+++ b/lib/libc/locale/isgraph.3
@@ -56,7 +56,7 @@ function tests for any printing character except space
and other
locale specific space-like characters.
The value of the argument must be representable as an
-.Vt unsigned char
+.Vt "unsigned char"
or the value of
.Dv EOF .
.Pp
diff --git a/lib/libc/locale/islower.3 b/lib/libc/locale/islower.3
index bf9bcef..5d7c378 100644
--- a/lib/libc/locale/islower.3
+++ b/lib/libc/locale/islower.3
@@ -53,7 +53,7 @@ The
.Fn islower
function tests for any lower-case letters.
The value of the argument must be representable as an
-.Vt unsigned char
+.Vt "unsigned char"
or the value of
.Dv EOF .
.Pp
diff --git a/lib/libc/locale/isprint.3 b/lib/libc/locale/isprint.3
index a01f863..5217f13 100644
--- a/lib/libc/locale/isprint.3
+++ b/lib/libc/locale/isprint.3
@@ -54,7 +54,7 @@ The
function tests for any printing character including space
.Pq Ql "\ " .
The value of the argument must be representable as an
-.Vt unsigned char
+.Vt "unsigned char"
or the value of
.Dv EOF .
.Pp
diff --git a/lib/libc/locale/ispunct.3 b/lib/libc/locale/ispunct.3
index 2ae06ed..80acf15 100644
--- a/lib/libc/locale/ispunct.3
+++ b/lib/libc/locale/ispunct.3
@@ -58,7 +58,7 @@ character for which
.Xr isalnum 3
is true.
The value of the argument must be representable as an
-.Vt unsigned char
+.Vt "unsigned char"
or the value of
.Dv EOF .
.Pp
diff --git a/lib/libc/locale/isspace.3 b/lib/libc/locale/isspace.3
index 13f06bf..5a77015 100644
--- a/lib/libc/locale/isspace.3
+++ b/lib/libc/locale/isspace.3
@@ -62,7 +62,7 @@ In the "C" locale
.Fn isspace
successful test is limited to this characters only.
The value of the argument must be representable as an
-.Vt unsigned char
+.Vt "unsigned char"
or the value of
.Dv EOF .
.Sh RETURN VALUES
diff --git a/lib/libc/locale/isupper.3 b/lib/libc/locale/isupper.3
index f8e403f..b92fe7c 100644
--- a/lib/libc/locale/isupper.3
+++ b/lib/libc/locale/isupper.3
@@ -53,7 +53,7 @@ The
.Fn isupper
function tests for any upper-case letter.
The value of the argument must be representable as an
-.Vt unsigned char
+.Vt "unsigned char"
or the value of
.Dv EOF .
.Pp
diff --git a/lib/libc/locale/isxdigit.3 b/lib/libc/locale/isxdigit.3
index 16c64b1..8e3d9b9 100644
--- a/lib/libc/locale/isxdigit.3
+++ b/lib/libc/locale/isxdigit.3
@@ -72,7 +72,7 @@ but may recognize additional characters,
depending on the current locale setting.
.Pp
The value of the argument must be representable as an
-.Vt unsigned char
+.Vt "unsigned char"
or the value of
.Dv EOF .
.Sh RETURN VALUES
diff --git a/lib/libc/locale/tolower.3 b/lib/libc/locale/tolower.3
index 08d25cc..4934284 100644
--- a/lib/libc/locale/tolower.3
+++ b/lib/libc/locale/tolower.3
@@ -54,7 +54,7 @@ The
function converts an upper-case letter to the corresponding lower-case
letter.
The argument must be representable as an
-.Vt unsigned char
+.Vt "unsigned char"
or the value of
.Dv EOF .
.Sh RETURN VALUES
diff --git a/lib/libc/locale/toupper.3 b/lib/libc/locale/toupper.3
index 381f080..b3ce8ff 100644
--- a/lib/libc/locale/toupper.3
+++ b/lib/libc/locale/toupper.3
@@ -54,7 +54,7 @@ The
function converts a lower-case letter to the corresponding
upper-case letter.
The argument must be representable as an
-.Vt unsigned char
+.Vt "unsigned char"
or the value of
.Dv EOF .
.Sh RETURN VALUES
diff --git a/lib/libc/posix1e/acl_get_entry.3 b/lib/libc/posix1e/acl_get_entry.3
index 8b9f135..42e03c1 100644
--- a/lib/libc/posix1e/acl_get_entry.3
+++ b/lib/libc/posix1e/acl_get_entry.3
@@ -79,7 +79,7 @@ then the result is unspecified.
.Sh RETURN VALUES
If the
.Fn acl_get_entry
-function successfuly obtains an ACL entry, a value of 1 is returned.
+function successfully obtains an ACL entry, a value of 1 is returned.
If the ACL has no ACL entries, the
.Fn acl_get_entry
returns a value of 0.
diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2
index 522c559..f4c0b42 100644
--- a/lib/libc/sys/mmap.2
+++ b/lib/libc/sys/mmap.2
@@ -123,12 +123,15 @@ If
is specified,
.Fa addr
must be a multiple of the pagesize.
-If a MAP_FIXED request is successful, the mapping established by
+If a
+.Dv MAP_FIXED
+request is successful, the mapping established by
.Fn mmap
replaces any previous mappings for the process' pages in the range from
.Fa addr
to
-.Fa addr +
+.Fa addr
++
.Fa len .
Use of this option is discouraged.
.It Dv MAP_HASSEMAPHORE
diff --git a/lib/libc/sys/read.2 b/lib/libc/sys/read.2
index 6304f01..2dccb0e 100644
--- a/lib/libc/sys/read.2
+++ b/lib/libc/sys/read.2
@@ -32,7 +32,7 @@
.\" @(#)read.2 8.4 (Berkeley) 2/26/94
.\" $FreeBSD$
.\"
-.Dd October 16, 2004
+.Dd July 29, 2005
.Dt READ 2
.Os
.Sh NAME
diff --git a/lib/libc/sys/recv.2 b/lib/libc/sys/recv.2
index f0eb35c..3d89f4f 100644
--- a/lib/libc/sys/recv.2
+++ b/lib/libc/sys/recv.2
@@ -32,7 +32,7 @@
.\" @(#)recv.2 8.3 (Berkeley) 2/21/94
.\" $FreeBSD$
.\"
-.Dd February 21, 1994
+.Dd July 29, 2005
.Dt RECV 2
.Os
.Sh NAME
diff --git a/lib/libc/sys/sendfile.2 b/lib/libc/sys/sendfile.2
index 2b2da3d..57feb14 100644
--- a/lib/libc/sys/sendfile.2
+++ b/lib/libc/sys/sendfile.2
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd October 16, 2004
+.Dd October 31, 2005
.Dt SENDFILE 2
.Os
.Sh NAME
diff --git a/lib/libc/sys/sigwait.2 b/lib/libc/sys/sigwait.2
index 632d991..8c00cf4 100644
--- a/lib/libc/sys/sigwait.2
+++ b/lib/libc/sys/sigwait.2
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd April 27, 2000
+.Dd November 11, 2005
.Dt SIGWAIT 2
.Os
.Sh NAME
@@ -63,7 +63,8 @@ If more than one thread is using
.Fn sigwait
to wait for the same signal, no more than one of these threads will return from
.Fn sigwait
-with the signal number. If more than a single thread is blocked in
+with the signal number.
+If more than a single thread is blocked in
.Fn sigwait
for a signal when that signal is generated for the process, it is unspecified
which of the waiting threads returns from
@@ -72,8 +73,13 @@ If the signal is generated for a specific thread, as by
.Fn pthread_kill ,
only that thread will return.
.Pp
-Should any of the multiple pending signals in the range SIGRTMIN to SIGRTMAX be
-selected, it will be the lowest numbered one. The selection order between realtime
+Should any of the multiple pending signals in the range
+.Dv SIGRTMIN
+to
+.Dv SIGRTMAX
+be
+selected, it will be the lowest numbered one.
+The selection order between realtime
and non-realtime signals, or between multiple pending non-realtime signals,
is unspecified.
.Sh RETURN VALUES
@@ -98,12 +104,12 @@ Any arguments point outside the allocated address space or there is a
memory protection fault.
.El
.Sh SEE ALSO
-.Xr sigtimedwait 2 ,
-.Xr sigwaitinfo 2 ,
-.Xr sigqueue 2 ,
.Xr sigaction 2 ,
.Xr sigpending 2 ,
+.Xr sigqueue 2 ,
.Xr sigsuspend 2 ,
+.Xr sigtimedwait 2 ,
+.Xr sigwaitinfo 2 ,
.Xr pause 3 ,
.Xr pthread_sigmask 3
.Sh STANDARDS
diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2
index 304824d..b1c599d 100644
--- a/lib/libc/sys/wait.2
+++ b/lib/libc/sys/wait.2
@@ -32,7 +32,7 @@
.\" @(#)wait.2 8.2 (Berkeley) 4/19/94
.\" $FreeBSD$
.\"
-.Dd April 19, 1994
+.Dd November 12, 2005
.Dt WAIT 2
.Os
.Sh NAME
@@ -234,25 +234,33 @@ see
.Xr intro 2 ,
System call restart.
.Pp
-The implementation queues one SIGCHLD signal for each child process whose
+The implementation queues one
+.Dv SIGCHLD
+signal for each child process whose
status has changed, if
.Fn wait
returns because the status of a child process is available, the pending
SIGCHLD signal associated with the process ID of the child process will
-be discarded. Any other pending SIGCHLD signals remain pending.
+be discarded.
+Any other pending
+.Dv SIGCHLD
+signals remain pending.
.Pp
-If SIGCHLD is blocked,
+If
+.Dv SIGCHLD
+is blocked,
.Fn wait
returns because the status of a child process is available, the pending
-SIGCHLD signal will be cleared unless another status of the child process
+.Dv SIGCHLD
+signal will be cleared unless another status of the child process
is available.
.Sh RETURN VALUES
If
.Fn wait
-returns due to a stopped, continued,
+returns due to a stopped, continued,
or terminated child process, the process ID of the child
is returned to the calling process.
-Otherwise, a value of -1
+Otherwise, a value of \-1
is returned and
.Va errno
is set to indicate the error.
diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2
index 050e2a0..f1edb50 100644
--- a/lib/libc/sys/write.2
+++ b/lib/libc/sys/write.2
@@ -32,7 +32,7 @@
.\" @(#)write.2 8.5 (Berkeley) 4/2/94
.\" $FreeBSD$
.\"
-.Dd October 16, 2004
+.Dd July 7, 2005
.Dt WRITE 2
.Os
.Sh NAME
OpenPOWER on IntegriCloud