From 1274071a69a58859123c827aecbdd938c27ebd6f Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 22 Jun 2007 18:25:23 +0000 Subject: [PATCH] ffix --- man2/get_mempolicy.2 | 4 +++- man2/send.2 | 8 ++++++-- man2/sendfile.2 | 4 +++- man2/setfsgid.2 | 4 +++- man2/setfsuid.2 | 4 +++- man2/setxattr.2 | 4 +++- man2/stat.2 | 6 +++++- man2/utime.2 | 4 +++- man3/aio_cancel.3 | 4 +++- man3/aio_error.3 | 8 ++++++-- man3/aio_write.3 | 8 ++++++-- man3/btowc.3 | 4 +++- man3/catopen.3 | 4 +++- man3/fgetwc.3 | 4 +++- man3/fgetws.3 | 4 +++- man3/fputwc.3 | 4 +++- man3/fputws.3 | 4 +++- man3/getwchar.3 | 4 +++- man3/iswalnum.3 | 4 +++- man3/iswalpha.3 | 4 +++- man3/iswblank.3 | 4 +++- man3/iswcntrl.3 | 4 +++- man3/iswctype.3 | 4 +++- man3/iswdigit.3 | 4 +++- man3/iswgraph.3 | 4 +++- man3/iswlower.3 | 4 +++- man3/iswprint.3 | 4 +++- man3/iswpunct.3 | 4 +++- man3/iswspace.3 | 4 +++- man3/iswupper.3 | 4 +++- man3/iswxdigit.3 | 4 +++- man3/mblen.3 | 4 +++- man3/mbrlen.3 | 4 +++- man3/mbrtowc.3 | 4 +++- man3/mbsinit.3 | 4 +++- man3/mbsnrtowcs.3 | 4 +++- man3/mbsrtowcs.3 | 4 +++- man3/mbstowcs.3 | 4 +++- man3/mbtowc.3 | 4 +++- man3/putwchar.3 | 4 +++- man3/towctrans.3 | 4 +++- man3/towlower.3 | 4 +++- man3/towupper.3 | 4 +++- man3/ungetwc.3 | 4 +++- man3/usleep.3 | 4 +++- man3/wcrtomb.3 | 4 +++- man3/wcscasecmp.3 | 4 +++- man3/wcsncasecmp.3 | 4 +++- man3/wcsnrtombs.3 | 4 +++- man3/wcsrtombs.3 | 4 +++- man3/wcstombs.3 | 4 +++- man3/wcswidth.3 | 4 +++- man3/wctob.3 | 4 +++- man3/wctomb.3 | 4 +++- man3/wctrans.3 | 8 ++++++-- man3/wctype.3 | 8 ++++++-- man3/wcwidth.3 | 4 +++- man3/wprintf.3 | 12 +++++++++--- man7/futex.7 | 8 ++++++-- man7/glob.7 | 4 +++- man7/packet.7 | 4 +++- man7/path_resolution.7 | 12 +++++++++--- 62 files changed, 218 insertions(+), 72 deletions(-) diff --git a/man2/get_mempolicy.2 b/man2/get_mempolicy.2 index 716e704bf..5a05d8911 100644 --- a/man2/get_mempolicy.2 +++ b/man2/get_mempolicy.2 @@ -142,7 +142,9 @@ is set to indicate the error. .\" and .\" .I addr .\" is NULL. -.\" (And there are other EINVAL cases.) +.\" (And there are other +.\" .B EINVAL +.\" cases.) .SH CONFORMING TO This system call is Linux specific. .SH NOTES diff --git a/man2/send.2 b/man2/send.2 index 51bdd7fe9..7f0102ada 100644 --- a/man2/send.2 +++ b/man2/send.2 @@ -94,7 +94,9 @@ the parameters .I to and .I tolen -are ignored (and the error EISCONN may be returned when they are +are ignored (and the error +.B EISCONN +may be returned when they are not NULL and 0), and the error ENOTCONN is returned when the socket was not actually connected. Otherwise, the address of the target is given by @@ -381,7 +383,9 @@ but glibc currently (2.4) types it as .\" __kernel_size_t type used to type this field varies .\" across architectures, but socklen_t is always 32 bits. .SH BUGS -Linux may return EPIPE instead of ENOTCONN. +Linux may return +.B EPIPE +instead of ENOTCONN. .SH EXAMPLE An example of the use of .BR sendto () diff --git a/man2/sendfile.2 b/man2/sendfile.2 index 01ee2ccb6..8ba23fedc 100644 --- a/man2/sendfile.2 +++ b/man2/sendfile.2 @@ -94,7 +94,9 @@ Applications may wish to fall back to .BR read (2)/ write (2) in the case where .BR sendfile () -fails with EINVAL or ENOSYS. +fails with +.B EINVAL +or ENOSYS. .SH "RETURN VALUE" If the transfer was successful, the number of bytes written to .I out_fd diff --git a/man2/setfsgid.2 b/man2/setfsgid.2 index fb0465261..6fa614c73 100644 --- a/man2/setfsgid.2 +++ b/man2/setfsgid.2 @@ -77,7 +77,9 @@ to be portable. It is present since Linux 1.1.44 and in libc since libc 4.7.6. .SH NOTES When glibc determines that the argument is not a valid group ID, -it will return \-1 and set \fIerrno\fP to EINVAL without attempting +it will return \-1 and set \fIerrno\fP to +.B EINVAL +without attempting the system call. .LP Note that at the time this system call was introduced, a process diff --git a/man2/setfsuid.2 b/man2/setfsuid.2 index 4d9db04d8..365d85543 100644 --- a/man2/setfsuid.2 +++ b/man2/setfsuid.2 @@ -77,7 +77,9 @@ to be portable. It is present since Linux 1.1.44 and in libc since libc 4.7.6. .SH NOTES When glibc determines that the argument is not a valid user ID, -it will return \-1 and set \fIerrno\fP to EINVAL without attempting +it will return \-1 and set \fIerrno\fP to +.B EINVAL +without attempting the system call. .LP Note that at the time this system call was introduced, a process diff --git a/man2/setxattr.2 b/man2/setxattr.2 index 22e34a030..7c10c9c00 100644 --- a/man2/setxattr.2 +++ b/man2/setxattr.2 @@ -111,7 +111,9 @@ is set appropriately. If XATTR_CREATE is specified, and the attribute exists already, .I errno is set to EEXIST. -If XATTR_REPLACE is specified, and the attribute does not exist, +If +.B XATTR_REPLACE +is specified, and the attribute does not exist, .I errno is set to ENOATTR. .PP diff --git a/man2/stat.2 b/man2/stat.2 index 59844fc72..5683d8f5e 100644 --- a/man2/stat.2 +++ b/man2/stat.2 @@ -311,7 +311,11 @@ and possibly on a single system when NFS mounts are involved.) POSIX does not describe the S_IFMT, S_IFSOCK, S_IFLNK, S_IFREG, S_IFBLK, S_IFDIR, S_IFCHR, S_IFIFO, S_ISVTX bits, but instead demands the use of the macros S_ISDIR(), etc. -The S_ISLNK and S_ISSOCK macros are not in +The +.B S_ISLNK +and +.B S_ISSOCK +macros are not in POSIX.1-1996, but both are present in POSIX.1-2001; the former is from SVID 4, the latter from SUSv2. .LP diff --git a/man2/utime.2 b/man2/utime.2 index 478e16d93..5a5c988ff 100644 --- a/man2/utime.2 +++ b/man2/utime.2 @@ -156,7 +156,9 @@ POSIX.1-2001 marks legacy, which is strange since it provides more functionality than .BR utime (). .SH BUGS -Linux is not careful to distinguish between the EACCES and EPERM error returns. +Linux is not careful to distinguish between the +.B EACCES +and EPERM error returns. On the other hand, POSIX.1-2001 is buggy in its error description for .BR utimes (). .SH "SEE ALSO" diff --git a/man3/aio_cancel.3 b/man3/aio_cancel.3 index 970589f8e..bc8a878e5 100644 --- a/man3/aio_cancel.3 +++ b/man3/aio_cancel.3 @@ -59,7 +59,9 @@ Which operations are cancellable is implementation-defined. .SH "RETURN VALUE" This function returns AIO_CANCELED if all requests were successfully canceled. -It returns AIO_NOTCANCELED when at least one of the +It returns +.B AIO_NOTCANCELED +when at least one of the requests specified was not canceled because it was in progress. In this case one may check the status of individual requests using .BR aio_error (3). diff --git a/man3/aio_error.3 b/man3/aio_error.3 index dc179d921..8f9f20c09 100644 --- a/man3/aio_error.3 +++ b/man3/aio_error.3 @@ -35,9 +35,13 @@ function returns the error status for the asynchronous I/O request with control block pointed to by .IR aiocbp . .SH "RETURN VALUE" -This function returns EINPROGRESS if the request has not been +This function returns +.B EINPROGRESS +if the request has not been completed yet. -It returns ECANCELED if the request was canceled. +It returns +.B ECANCELED +if the request was canceled. It returns 0 if the request completed successfully. Otherwise an error value is returned, the same value that would have been stored in the diff --git a/man3/aio_write.3 b/man3/aio_write.3 index df794eb52..ec86dc13d 100644 --- a/man3/aio_write.3 +++ b/man3/aio_write.3 @@ -40,11 +40,15 @@ respectively. The return status n can be retrieved upon completion using .BR aio_return (3). .LP -If O_APPEND is not set, the data is written starting at the +If +.B O_APPEND +is not set, the data is written starting at the absolute file offset .IR aiocbp->aio_offset , regardless of the current file position. -If O_APPEND is set, the data is written at the end of the file. +If +.B O_APPEND +is set, the data is written at the end of the file. After this request, the value of the current file position is unspecified. .LP The "asynchronous" means that this call returns as soon as the diff --git a/man3/btowc.3 b/man3/btowc.3 index a57cd9243..7843b0aec 100644 --- a/man3/btowc.3 +++ b/man3/btowc.3 @@ -43,7 +43,9 @@ C99, POSIX.1-2001. .SH NOTES The behavior of .BR btowc () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .PP This function should never be used. diff --git a/man3/catopen.3 b/man3/catopen.3 index ef691c4cf..a3a28bfd4 100644 --- a/man3/catopen.3 +++ b/man3/catopen.3 @@ -41,7 +41,9 @@ The descriptor remains valid until or .BR execve (2). If a file descriptor is used to implement catalog descriptors -then the FD_CLOEXEC flag will be set. +then the +.B FD_CLOEXEC +flag will be set. .LP The argument .I name diff --git a/man3/fgetwc.3 b/man3/fgetwc.3 index 80ab257d6..55878e10b 100644 --- a/man3/fgetwc.3 +++ b/man3/fgetwc.3 @@ -64,7 +64,9 @@ C99, POSIX.1-2001. .SH NOTES The behavior of .BR fgetwc () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .PP In the absence of additional information passed to the diff --git a/man3/fgetws.3 b/man3/fgetws.3 index 73ccadb5e..3e7212c2e 100644 --- a/man3/fgetws.3 +++ b/man3/fgetws.3 @@ -51,7 +51,9 @@ C99, POSIX.1-2001. .SH NOTES The behavior of .BR fgetws () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .PP In the absence of additional information passed to the diff --git a/man3/fputwc.3 b/man3/fputwc.3 index 9b2886ed3..71814249a 100644 --- a/man3/fputwc.3 +++ b/man3/fputwc.3 @@ -62,7 +62,9 @@ C99, POSIX.1-2001. .SH NOTES The behavior of .BR fputwc () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .PP In the absence of additional information passed to the diff --git a/man3/fputws.3 b/man3/fputws.3 index 63a8cf92a..018a27bf3 100644 --- a/man3/fputws.3 +++ b/man3/fputws.3 @@ -43,7 +43,9 @@ C99, POSIX.1-2001. .SH NOTES The behavior of .BR fputws () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .PP In the absence of additional information passed to the diff --git a/man3/getwchar.3 b/man3/getwchar.3 index eaf58a8f0..5809d9eab 100644 --- a/man3/getwchar.3 +++ b/man3/getwchar.3 @@ -46,7 +46,9 @@ C99 .SH NOTES The behavior of .BR getwchar () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .PP It is reasonable to expect that diff --git a/man3/iswalnum.3 b/man3/iswalnum.3 index e39df7bd0..0bd39c78c 100644 --- a/man3/iswalnum.3 +++ b/man3/iswalnum.3 @@ -62,7 +62,9 @@ C99. .SH NOTES The behavior of .BR iswalnum () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .SH "SEE ALSO" .BR isalnum (3), diff --git a/man3/iswalpha.3 b/man3/iswalpha.3 index dfd213142..8676f6b0e 100644 --- a/man3/iswalpha.3 +++ b/man3/iswalpha.3 @@ -66,7 +66,9 @@ C99. .SH NOTES The behavior of .BR iswalpha () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .SH "SEE ALSO" .BR isalpha (3), diff --git a/man3/iswblank.3 b/man3/iswblank.3 index baab8292c..535ddf6d5 100644 --- a/man3/iswblank.3 +++ b/man3/iswblank.3 @@ -53,7 +53,9 @@ POSIX.1-2001. .SH NOTES The behavior of .BR iswblank () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .SH "SEE ALSO" .BR isblank (3), diff --git a/man3/iswcntrl.3 b/man3/iswcntrl.3 index 925c9ca82..be280c7ac 100644 --- a/man3/iswcntrl.3 +++ b/man3/iswcntrl.3 @@ -47,7 +47,9 @@ C99. .SH NOTES The behavior of .BR iswcntrl () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .SH "SEE ALSO" .BR iscntrl (3), diff --git a/man3/iswctype.3 b/man3/iswctype.3 index 1e78e884e..0bf3ce44f 100644 --- a/man3/iswctype.3 +++ b/man3/iswctype.3 @@ -45,7 +45,9 @@ C99. .SH NOTES The behavior of .BR iswctype () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .SH "SEE ALSO" .BR iswalnum (3), diff --git a/man3/iswdigit.3 b/man3/iswdigit.3 index 57a4c8876..27af28097 100644 --- a/man3/iswdigit.3 +++ b/man3/iswdigit.3 @@ -65,7 +65,9 @@ C99. .SH NOTES The behavior of .BR iswdigit () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .SH "SEE ALSO" .BR isdigit (3), diff --git a/man3/iswgraph.3 b/man3/iswgraph.3 index 8f918d6da..2d1344722 100644 --- a/man3/iswgraph.3 +++ b/man3/iswgraph.3 @@ -58,7 +58,9 @@ C99. .SH NOTES The behavior of .BR iswgraph () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .SH "SEE ALSO" .BR isgraph (3), diff --git a/man3/iswlower.3 b/man3/iswlower.3 index 7041d6a01..13ac06a52 100644 --- a/man3/iswlower.3 +++ b/man3/iswlower.3 @@ -70,7 +70,9 @@ C99. .SH NOTES The behavior of .BR iswlower () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .PP This function is not very appropriate for dealing with Unicode characters, diff --git a/man3/iswprint.3 b/man3/iswprint.3 index 26bbbc635..ab5815775 100644 --- a/man3/iswprint.3 +++ b/man3/iswprint.3 @@ -44,7 +44,9 @@ C99. .SH NOTES The behavior of .BR iswprint () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .SH "SEE ALSO" .BR isprint (3), diff --git a/man3/iswpunct.3 b/man3/iswpunct.3 index 6b10a8d32..238252af8 100644 --- a/man3/iswpunct.3 +++ b/man3/iswpunct.3 @@ -56,7 +56,9 @@ C99. .SH NOTES The behavior of .BR iswpunct () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .PP This function's name is a misnomer when dealing with Unicode characters, diff --git a/man3/iswspace.3 b/man3/iswspace.3 index c52ed3265..43e050a11 100644 --- a/man3/iswspace.3 +++ b/man3/iswspace.3 @@ -51,7 +51,9 @@ C99. .SH NOTES The behavior of .BR iswspace () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .SH "SEE ALSO" .BR isspace (3), diff --git a/man3/iswupper.3 b/man3/iswupper.3 index 0fe21b5ad..4d60f4634 100644 --- a/man3/iswupper.3 +++ b/man3/iswupper.3 @@ -62,7 +62,9 @@ C99. .SH NOTES The behavior of .BR iswupper () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .PP This function is not very appropriate for dealing with Unicode characters, diff --git a/man3/iswxdigit.3 b/man3/iswxdigit.3 index 694699136..84556291b 100644 --- a/man3/iswxdigit.3 +++ b/man3/iswxdigit.3 @@ -56,7 +56,9 @@ C99. .SH NOTES The behavior of .BR iswxdigit () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .SH "SEE ALSO" .BR iswctype (3), diff --git a/man3/mblen.3 b/man3/mblen.3 index d6c7a9c5c..e0ade5343 100644 --- a/man3/mblen.3 +++ b/man3/mblen.3 @@ -68,7 +68,9 @@ C99 .SH NOTES The behavior of .BR mblen () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .PP The function diff --git a/man3/mbrlen.3 b/man3/mbrlen.3 index 267d33176..f0c93eb04 100644 --- a/man3/mbrlen.3 +++ b/man3/mbrlen.3 @@ -67,7 +67,9 @@ C99 .SH NOTES The behavior of .BR mbrlen () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .SH "SEE ALSO" .BR mbrtowc (3) diff --git a/man3/mbrtowc.3 b/man3/mbrtowc.3 index 05a597508..28947635b 100644 --- a/man3/mbrtowc.3 +++ b/man3/mbrtowc.3 @@ -100,7 +100,9 @@ C99 .SH NOTES The behavior of .BR mbrtowc () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .SH "SEE ALSO" .BR mbsrtowcs (3) diff --git a/man3/mbsinit.3 b/man3/mbsinit.3 index 874be7c5d..c8b448c8e 100644 --- a/man3/mbsinit.3 +++ b/man3/mbsinit.3 @@ -72,7 +72,9 @@ C99 .SH NOTES The behavior of .BR mbsinit () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .SH "SEE ALSO" .BR mbsrtowcs (3), diff --git a/man3/mbsnrtowcs.3 b/man3/mbsnrtowcs.3 index 58ecf4d1a..17f90ed3d 100644 --- a/man3/mbsnrtowcs.3 +++ b/man3/mbsnrtowcs.3 @@ -85,7 +85,9 @@ This function is a GNU extension. .SH NOTES The behavior of .BR mbsnrtowcs () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .PP Passing NULL as \fIps\fP is not multi-thread safe. diff --git a/man3/mbsrtowcs.3 b/man3/mbsrtowcs.3 index 23aa1ccab..ea12ed2fa 100644 --- a/man3/mbsrtowcs.3 +++ b/man3/mbsrtowcs.3 @@ -74,7 +74,9 @@ C99 .SH NOTES The behavior of .BR mbsrtowcs () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .PP Passing NULL as \fIps\fP is not multi-thread safe. diff --git a/man3/mbstowcs.3 b/man3/mbstowcs.3 index 2bfd8ab0c..f3da29bea 100644 --- a/man3/mbstowcs.3 +++ b/man3/mbstowcs.3 @@ -67,7 +67,9 @@ C99 .SH NOTES The behavior of .BR mbstowcs () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .PP The function diff --git a/man3/mbtowc.3 b/man3/mbtowc.3 index fed41e140..da3fee88e 100644 --- a/man3/mbtowc.3 +++ b/man3/mbtowc.3 @@ -78,7 +78,9 @@ C99 .SH NOTES The behavior of .BR mbtowc () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .PP This function is not multi-thread safe. diff --git a/man3/putwchar.3 b/man3/putwchar.3 index f5720740c..d01503f2d 100644 --- a/man3/putwchar.3 +++ b/man3/putwchar.3 @@ -45,7 +45,9 @@ C99. .SH NOTES The behavior of .BR putwchar () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .PP It is reasonable to expect that diff --git a/man3/towctrans.3 b/man3/towctrans.3 index ac4d746ea..8aba92ffe 100644 --- a/man3/towctrans.3 +++ b/man3/towctrans.3 @@ -41,7 +41,9 @@ C99. .SH NOTES The behavior of .BR towctrans () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .SH "SEE ALSO" .BR towlower (3), diff --git a/man3/towlower.3 b/man3/towlower.3 index 09518e638..44c8eadde 100644 --- a/man3/towlower.3 +++ b/man3/towlower.3 @@ -40,7 +40,9 @@ C99. .SH NOTES The behavior of .BR towlower () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .PP This function is not very appropriate for dealing with Unicode characters, diff --git a/man3/towupper.3 b/man3/towupper.3 index 1d69038d6..1e42159ea 100644 --- a/man3/towupper.3 +++ b/man3/towupper.3 @@ -40,7 +40,9 @@ C99. .SH NOTES The behavior of .BR towupper () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .PP This function is not very appropriate for dealing with Unicode characters, diff --git a/man3/ungetwc.3 b/man3/ungetwc.3 index 681818b27..23f25309a 100644 --- a/man3/ungetwc.3 +++ b/man3/ungetwc.3 @@ -55,7 +55,9 @@ C99. .SH NOTES The behavior of .BR ungetwc () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .SH "SEE ALSO" .BR fgetwc (3) diff --git a/man3/usleep.3 b/man3/usleep.3 index 4e1265164..f5ed15910 100644 --- a/man3/usleep.3 +++ b/man3/usleep.3 @@ -70,7 +70,9 @@ The POSIX version returns .IR int , and this is also the prototype used since glibc 2.2.2. -Only the EINVAL error return is documented by SUSv2. +Only the +.B EINVAL +error return is documented by SUSv2. .SH NOTES The type .B useconds_t diff --git a/man3/wcrtomb.3 b/man3/wcrtomb.3 index a2bea2e3f..bb2c57647 100644 --- a/man3/wcrtomb.3 +++ b/man3/wcrtomb.3 @@ -73,7 +73,9 @@ C99. .SH NOTES The behavior of .BR wcrtomb () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .PP Passing NULL as \fIps\fP is not multi-thread safe. diff --git a/man3/wcscasecmp.3 b/man3/wcscasecmp.3 index 74f7348af..c3ea9121b 100644 --- a/man3/wcscasecmp.3 +++ b/man3/wcscasecmp.3 @@ -45,7 +45,9 @@ This function is a GNU extension. .SH NOTES The behavior of .BR wcscasecmp () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .SH "SEE ALSO" .BR strcasecmp (3), diff --git a/man3/wcsncasecmp.3 b/man3/wcsncasecmp.3 index 2717d1b5d..cadb86b32 100644 --- a/man3/wcsncasecmp.3 +++ b/man3/wcsncasecmp.3 @@ -48,7 +48,9 @@ This function is a GNU extension. .SH NOTES The behavior of .BR wcsncasecmp () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .SH "SEE ALSO" .BR strncasecmp (3), diff --git a/man3/wcsnrtombs.3 b/man3/wcsnrtombs.3 index 67beff1e0..852340a2e 100644 --- a/man3/wcsnrtombs.3 +++ b/man3/wcsnrtombs.3 @@ -93,7 +93,9 @@ This function is a GNU extension. .SH NOTES The behavior of .BR wcsnrtombs () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .PP Passing NULL as \fIps\fP is not multi-thread safe. diff --git a/man3/wcsrtombs.3 b/man3/wcsrtombs.3 index 5f3c1e6ef..908d64428 100644 --- a/man3/wcsrtombs.3 +++ b/man3/wcsrtombs.3 @@ -88,7 +88,9 @@ C99. .SH NOTES The behavior of .BR wcsrtombs () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .PP Passing NULL as \fIps\fP is not multi-thread safe. diff --git a/man3/wcstombs.3 b/man3/wcstombs.3 index 6b357dea2..3bf016a38 100644 --- a/man3/wcstombs.3 +++ b/man3/wcstombs.3 @@ -67,7 +67,9 @@ C99. .SH NOTES The behavior of .BR wcstombs () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .PP The function diff --git a/man3/wcswidth.3 b/man3/wcswidth.3 index d5e176739..dd7a9b2f9 100644 --- a/man3/wcswidth.3 +++ b/man3/wcswidth.3 @@ -39,7 +39,9 @@ POSIX.1-2001. .SH NOTES The behavior of .BR wcswidth () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .SH "SEE ALSO" .BR iswprint (3), diff --git a/man3/wctob.3 b/man3/wctob.3 index 076e4de69..626b36a08 100644 --- a/man3/wctob.3 +++ b/man3/wctob.3 @@ -44,7 +44,9 @@ C99. .SH NOTES The behavior of .BR wctob () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .PP This function should never be used. diff --git a/man3/wctomb.3 b/man3/wctomb.3 index 4e99c8862..d10be5a99 100644 --- a/man3/wctomb.3 +++ b/man3/wctomb.3 @@ -66,7 +66,9 @@ C99. .SH NOTES The behavior of .BR wctomb () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .PP This function is not multi-thread safe. diff --git a/man3/wctrans.3 b/man3/wctrans.3 index a639d9745..63b4400a4 100644 --- a/man3/wctrans.3 +++ b/man3/wctrans.3 @@ -36,7 +36,9 @@ The .BR wctrans () function returns a mapping, given by its name. The set of -valid names depends on the LC_CTYPE category of the current locale, but the +valid names depends on the +.B LC_CTYPE +category of the current locale, but the following names are valid in all locales. .nf "tolower" \- realizes the \fBtolower\fP(3) mapping @@ -53,7 +55,9 @@ C99. .SH NOTES The behavior of .BR wctrans () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .SH "SEE ALSO" .BR towctrans (3) diff --git a/man3/wctype.3 b/man3/wctype.3 index b670a0b9b..5c7a21c92 100644 --- a/man3/wctype.3 +++ b/man3/wctype.3 @@ -37,7 +37,9 @@ The .BR wctype () function returns a property, given by its name. The set of -valid names depends on the LC_CTYPE category of the current locale, but the +valid names depends on the +.B LC_CTYPE +category of the current locale, but the following names are valid in all locales. .nf "alnum" \- realizes the \fBisalnum\fP(3) classification function @@ -64,7 +66,9 @@ C99. .SH NOTES The behavior of .BR wctype () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .SH "SEE ALSO" .BR iswctype (3) diff --git a/man3/wcwidth.3 b/man3/wcwidth.3 index 99fbcdd0e..6272b1d0b 100644 --- a/man3/wcwidth.3 +++ b/man3/wcwidth.3 @@ -45,7 +45,9 @@ Note that glibc before 2.2.5 used the prototype .SH NOTES The behavior of .BR wcwidth () -depends on the LC_CTYPE category of the +depends on the +.B LC_CTYPE +category of the current locale. .SH "SEE ALSO" .BR iswprint (3), diff --git a/man3/wprintf.3 b/man3/wprintf.3 index 42ee1b081..34b1e2727 100644 --- a/man3/wprintf.3 +++ b/man3/wprintf.3 @@ -173,12 +173,18 @@ C99. The behavior of .BR wprintf () et al. depends -on the LC_CTYPE category of the +on the +.B LC_CTYPE +category of the current locale. .PP If the \fIformat\fP string contains non-ASCII wide characters, the program -will only work correctly if the LC_CTYPE category of the current locale at -run time is the same as the LC_CTYPE category of the current locale at +will only work correctly if the +.B LC_CTYPE +category of the current locale at +run time is the same as the +.B LC_CTYPE +category of the current locale at compile time. This is because the .I wchar_t diff --git a/man7/futex.7 b/man7/futex.7 index e186906aa..49d5d40cd 100644 --- a/man7/futex.7 +++ b/man7/futex.7 @@ -62,14 +62,18 @@ In the contended case, the atomic increment changed the counter from \-1 (or some other negative number). If this is detected, there are waiters. Userspace should now set the counter to 1 and instruct the -kernel to wake up any waiters using the FUTEX_WAKE operation. +kernel to wake up any waiters using the +.B FUTEX_WAKE +operation. .PP Waiting on a futex, to 'down' it, is the reverse operation. Atomically decrement the counter and check if it changed to 0, in which case the operation is done and the futex was uncontended. In all other circumstances, the process should set the counter to \-1 and request that the kernel wait for another process to up the futex. -This is done using the FUTEX_WAIT operation. +This is done using the +.B FUTEX_WAIT +operation. .PP The .BR futex (2) diff --git a/man7/glob.7 b/man7/glob.7 index 16f79fb13..b704ed3e5 100644 --- a/man7/glob.7 +++ b/man7/glob.7 @@ -173,7 +173,9 @@ by the LC_COLLATE category in the current locale. so that one can say `[[:lower:]]' instead of `[a\-z]', and have things work in Denmark, too, where there are three letters past `z' in the alphabet. -These character classes are defined by the LC_CTYPE category +These character classes are defined by the +.B LC_CTYPE +category in the current locale. (v) Collating symbols, like `[.ch.]' or `[.a-acute.]', diff --git a/man7/packet.7 b/man7/packet.7 index 2123c52d2..649fbbf2e 100644 --- a/man7/packet.7 +++ b/man7/packet.7 @@ -176,7 +176,9 @@ Packet sockets can be used to configure physical layer multicasting and promiscuous mode. It works by calling .BR setsockopt (2) -on a packet socket for SOL_PACKET and one of the options +on a packet socket for +.B SOL_PACKET +and one of the options .B PACKET_ADD_MEMBERSHIP to add a binding or .B PACKET_DROP_MEMBERSHIP diff --git a/man7/path_resolution.7 b/man7/path_resolution.7 index 0d533ade6..7037d2abf 100644 --- a/man7/path_resolution.7 +++ b/man7/path_resolution.7 @@ -61,13 +61,17 @@ in the current lookup directory. If the process does not have search permission on the current lookup directory, -an EACCES error is returned ("Permission denied"). +an +.B EACCES +error is returned ("Permission denied"). If the component is not found, an ENOENT error is returned ("No such file or directory"). If the component is found, but is neither a directory nor a symbolic link, -an ENOTDIR error is returned ("Not a directory"). +an +.B ENOTDIR +error is returned ("Not a directory"). If the component is found and is a directory, we set the current lookup directory to that directory, and go to the @@ -77,7 +81,9 @@ If the component is found and is a symbolic link (symlink), we first resolve this symbolic link (with the current lookup directory as starting lookup directory). Upon error, that error is returned. -If the result is not a directory, an ENOTDIR error is returned. +If the result is not a directory, an +.B ENOTDIR +error is returned. If the resolution of the symlink is successful and returns a directory, we set the current lookup directory to that directory, and go to the next component.