summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-06-22 18:25:23 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-06-22 18:25:23 +0000
commit1274071a69a58859123c827aecbdd938c27ebd6f (patch)
tree85e052fbbcbb01b284e4528491701c3a8d8cae49
parentc8fe3fa2ee4cfb494ee9e94a154cbb7776d98a00 (diff)
ffix
-rw-r--r--man2/get_mempolicy.24
-rw-r--r--man2/send.28
-rw-r--r--man2/sendfile.24
-rw-r--r--man2/setfsgid.24
-rw-r--r--man2/setfsuid.24
-rw-r--r--man2/setxattr.24
-rw-r--r--man2/stat.26
-rw-r--r--man2/utime.24
-rw-r--r--man3/aio_cancel.34
-rw-r--r--man3/aio_error.38
-rw-r--r--man3/aio_write.38
-rw-r--r--man3/btowc.34
-rw-r--r--man3/catopen.34
-rw-r--r--man3/fgetwc.34
-rw-r--r--man3/fgetws.34
-rw-r--r--man3/fputwc.34
-rw-r--r--man3/fputws.34
-rw-r--r--man3/getwchar.34
-rw-r--r--man3/iswalnum.34
-rw-r--r--man3/iswalpha.34
-rw-r--r--man3/iswblank.34
-rw-r--r--man3/iswcntrl.34
-rw-r--r--man3/iswctype.34
-rw-r--r--man3/iswdigit.34
-rw-r--r--man3/iswgraph.34
-rw-r--r--man3/iswlower.34
-rw-r--r--man3/iswprint.34
-rw-r--r--man3/iswpunct.34
-rw-r--r--man3/iswspace.34
-rw-r--r--man3/iswupper.34
-rw-r--r--man3/iswxdigit.34
-rw-r--r--man3/mblen.34
-rw-r--r--man3/mbrlen.34
-rw-r--r--man3/mbrtowc.34
-rw-r--r--man3/mbsinit.34
-rw-r--r--man3/mbsnrtowcs.34
-rw-r--r--man3/mbsrtowcs.34
-rw-r--r--man3/mbstowcs.34
-rw-r--r--man3/mbtowc.34
-rw-r--r--man3/putwchar.34
-rw-r--r--man3/towctrans.34
-rw-r--r--man3/towlower.34
-rw-r--r--man3/towupper.34
-rw-r--r--man3/ungetwc.34
-rw-r--r--man3/usleep.34
-rw-r--r--man3/wcrtomb.34
-rw-r--r--man3/wcscasecmp.34
-rw-r--r--man3/wcsncasecmp.34
-rw-r--r--man3/wcsnrtombs.34
-rw-r--r--man3/wcsrtombs.34
-rw-r--r--man3/wcstombs.34
-rw-r--r--man3/wcswidth.34
-rw-r--r--man3/wctob.34
-rw-r--r--man3/wctomb.34
-rw-r--r--man3/wctrans.38
-rw-r--r--man3/wctype.38
-rw-r--r--man3/wcwidth.34
-rw-r--r--man3/wprintf.312
-rw-r--r--man7/futex.78
-rw-r--r--man7/glob.74
-rw-r--r--man7/packet.74
-rw-r--r--man7/path_resolution.712
62 files changed, 218 insertions, 72 deletions
diff --git a/man2/get_mempolicy.2 b/man2/get_mempolicy.2
index 716e704b..5a05d891 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 51bdd7fe..7f0102ad 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 01ee2ccb..8ba23fed 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 fb046526..6fa614c7 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 4d9db04d..365d8554 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 22e34a03..7c10c9c0 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 59844fc7..5683d8f5 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 478e16d9..5a5c988f 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 970589f8..bc8a878e 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 dc179d92..8f9f20c0 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 df794eb5..ec86dc13 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 a57cd924..7843b0ae 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 ef691c4c..a3a28bfd 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 80ab257d..55878e10 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 73ccadb5..3e7212c2 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 9b2886ed..71814249 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 63a8cf92..018a27bf 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 eaf58a8f..5809d9ea 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 e39df7bd..0bd39c78 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 dfd21314..8676f6b0 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 baab8292..535ddf6d 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 925c9ca8..be280c7a 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 1e78e884..0bf3ce44 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 57a4c887..27af2809 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 8f918d6d..2d134472 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 7041d6a0..13ac06a5 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 26bbbc63..ab581577 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 6b10a8d3..238252af 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 c52ed326..43e050a1 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 0fe21b5a..4d60f463 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 69469913..84556291 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 d6c7a9c5..e0ade534 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 267d3317..f0c93eb0 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 05a59750..28947635 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 874be7c5..c8b448c8 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 58ecf4d1..17f90ed3 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 23aa1cca..ea12ed2f 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 2bfd8ab0..f3da29be 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 fed41e14..da3fee88 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 f5720740..d01503f2 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 ac4d746e..8aba92ff 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 09518e63..44c8eadd 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 1d69038d..1e42159e 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 681818b2..23f25309 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 4e126516..f5ed1591 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 a2bea2e3..bb2c5764 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 74f7348a..c3ea9121 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 2717d1b5..cadb86b3 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 67beff1e..852340a2 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 5f3c1e6e..908d6442 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 6b357dea..3bf016a3 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 d5e17673..dd7a9b2f 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 076e4de6..626b36a0 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 4e99c886..d10be5a9 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 a639d974..63b4400a 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 b670a0b9..5c7a21c9 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 99fbcdd0..6272b1d0 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 42ee1b08..34b1e272 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 e186906a..49d5d40c 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 16f79fb1..b704ed3e 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 2123c52d..649fbbf2 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 0d533ade..7037d2ab 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.