diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2005-11-17 13:00:00 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2005-11-17 13:00:00 +0000 |
commit | 110e1704d33d8632ce8febdd36a0143ca8b2ef0e (patch) | |
tree | 8357787c5962631f6dc96a7483518171f91c2b20 /lib/libc | |
parent | 218837618a4d73393e64bb6034a9ce5015448202 (diff) | |
download | src-110e1704d33d8632ce8febdd36a0143ca8b2ef0e.tar.gz src-110e1704d33d8632ce8febdd36a0143ca8b2ef0e.zip |
-mdoc sweep.
Notes
Notes:
svn path=/head/; revision=152551
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/locale/isalnum.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/isalpha.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/isblank.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/iscntrl.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/isdigit.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/isgraph.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/islower.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/isprint.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/ispunct.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/isspace.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/isupper.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/isxdigit.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/tolower.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/toupper.3 | 2 | ||||
-rw-r--r-- | lib/libc/posix1e/acl_get_entry.3 | 2 | ||||
-rw-r--r-- | lib/libc/sys/mmap.2 | 7 | ||||
-rw-r--r-- | lib/libc/sys/read.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/recv.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/sendfile.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/sigwait.2 | 20 | ||||
-rw-r--r-- | lib/libc/sys/wait.2 | 22 | ||||
-rw-r--r-- | lib/libc/sys/write.2 | 2 |
22 files changed, 52 insertions, 35 deletions
diff --git a/lib/libc/locale/isalnum.3 b/lib/libc/locale/isalnum.3 index 02e2dd2d023d..d55048575391 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 09591496730d..1996059c6525 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 a027cd6b9a41..2af673a4a0d0 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 25e89545d005..e8b537b6c5a0 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 2505743dc60b..8bcf083f2094 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 632610bb4d6e..f5cc2eb1352d 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 bf9bcef9d22d..5d7c378294db 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 a01f8630c2a7..5217f13d294e 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 2ae06edc3fb8..80acf15f2244 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 13f06bf40abb..5a770151ddba 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 f8e403f27316..b92fe7cd0174 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 16c64b19f719..8e3d9b9f9484 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 08d25cc6a1c8..49342846d46b 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 381f080c6548..b3ce8ff45c3f 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 8b9f1357bd08..42e03c107651 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 522c559d6e70..f4c0b420a6d4 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 6304f0167f54..2dccb0e2b522 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 f0eb35cb4904..3d89f4febf52 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 2b2da3db4a1d..57feb14ca0cb 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 632d9919e031..8c00cf4277c0 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 304824d76781..b1c599dc679e 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 050e2a0905df..f1edb5073792 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 |