aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man2/accept.22
-rw-r--r--man2/fsync.24
-rw-r--r--man2/getrlimit.25
-rw-r--r--man2/sigwaitinfo.23
-rw-r--r--man2/statfs.28
-rw-r--r--man3/getline.32
-rw-r--r--man3/getpass.32
-rw-r--r--man3/getttyent.32
-rw-r--r--man3/isalpha.32
-rw-r--r--man3/key_setsecret.32
-rw-r--r--man3/remainder.310
-rw-r--r--man3/system.32
-rw-r--r--man3/termios.34
-rw-r--r--man4/epoll.43
14 files changed, 33 insertions, 18 deletions
diff --git a/man2/accept.2 b/man2/accept.2
index 1e5aaf0e3f..ba00157518 100644
--- a/man2/accept.2
+++ b/man2/accept.2
@@ -255,7 +255,7 @@ ENFILE, ENOBUFS, ENOMEM, ENOTSOCK, EOPNOTSUPP, EPROTO, EWOULDBLOCK. In
addition, SUSv2 documents EFAULT and ENOSR.
.LP
On Linux, the new socket returned by
-.B accept ()
+.BR accept ()
does \fInot\fP inherit file status flags such as
.BR O_NONBLOCK
and
diff --git a/man2/fsync.2 b/man2/fsync.2
index 36cd12ca92..38911126c5 100644
--- a/man2/fsync.2
+++ b/man2/fsync.2
@@ -78,7 +78,9 @@ is bound to a special file which does not support synchronization.
.SH NOTES
In case the hard disk has write cache enabled,
the data may not really be on permanent storage when
-.BR fsync ()/ fdatasync
+.BR fsync ()
+/
+.BR fdatasync ()
return.
.\" See
.\" .BR hdparm (8)
diff --git a/man2/getrlimit.2 b/man2/getrlimit.2
index fc78164b40..08597a5cdb 100644
--- a/man2/getrlimit.2
+++ b/man2/getrlimit.2
@@ -268,7 +268,10 @@ For example, RLIM_INFINITY typically is the same as \-1.)
Specifies a value one greater than the maximum file descriptor number
that can be opened by this process.
Attempts
-.RB ( open "(), " pipe "(), " dup "(), etc.)"
+.RB ( open (),
+.BR pipe (),
+.BR dup (),
+etc.)"
to exceed this limit yield the error
.BR EMFILE .
.TP
diff --git a/man2/sigwaitinfo.2 b/man2/sigwaitinfo.2
index 40cc13237c..5a8f9c2cec 100644
--- a/man2/sigwaitinfo.2
+++ b/man2/sigwaitinfo.2
@@ -116,7 +116,8 @@ via a prior call to
.BR sigprocmask ()
(so that the default disposition for these signals does not occur if they
are delivered between successive calls to
-.BR sigwaitinfo () or
+.BR sigwaitinfo ()
+or
.BR sigtimedwait ())
and does not establish handlers for these signals.
.PP
diff --git a/man2/statfs.2 b/man2/statfs.2
index 593f3aa333..b3d4ef4bce 100644
--- a/man2/statfs.2
+++ b/man2/statfs.2
@@ -233,9 +233,13 @@ Some systems only have <sys/vfs.h>, other systems also have
including the former is the best choice.
LSB has deprecated the library calls
-.I [f]statfs()
+.IR statfs ()
+and
+.IR fstatfs ()
and tells us to use
-.I [f]statvfs()
+.IR statvfs ()
+and
+.IR statvfs ()
instead.
.SH "SEE ALSO"
.BR path_resolution (2),
diff --git a/man3/getline.3 b/man3/getline.3
index e7bd55d5f9..c226be9af4 100644
--- a/man3/getline.3
+++ b/man3/getline.3
@@ -85,7 +85,7 @@ in the input before end of file was reached.
On success,
.BR getline ()
and
-.B getdelim ()
+.BR getdelim ()
return the number of characters read, including the delimiter character,
but not including the terminating null character. This value can be used
to handle embedded null characters in the line read.
diff --git a/man3/getpass.3 b/man3/getpass.3
index 33777ebfe2..4138158117 100644
--- a/man3/getpass.3
+++ b/man3/getpass.3
@@ -88,7 +88,7 @@ in case it is smaller than 8, and can in any case be obtained using
.IR sysconf(_SC_PASS_MAX) .
However, POSIX.2 withdraws the constants PASS_MAX
and _SC_PASS_MAX, and the function
-.B getpass ().
+.BR getpass ().
Libc4 and libc5 have never supported PASS_MAX or _SC_PASS_MAX.
Glibc2 accepts _SC_PASS_MAX and returns BUFSIZ (e.g., 8192).
.SH FILES
diff --git a/man3/getttyent.3 b/man3/getttyent.3
index 84513ba0b1..f27a2eb696 100644
--- a/man3/getttyent.3
+++ b/man3/getttyent.3
@@ -26,7 +26,7 @@ The function
opens the file or rewinds it if already open.
The function
-.BR endttyent ()
+.BR endttyent ()
closes the file.
The function
diff --git a/man3/isalpha.3 b/man3/isalpha.3
index 9754df3f0c..233bc20e56 100644
--- a/man3/isalpha.3
+++ b/man3/isalpha.3
@@ -79,7 +79,7 @@ checks for an alphabetic character; in the standard \fB"C"\fP
locale, it is equivalent to
.BI "(isupper(" c ") || islower(" c "))" \fR.
In some locales, there may be additional characters for which
-.BR isalpha ()
+.BR isalpha ()
is true\(emletters which are neither upper case nor lower
case.
.TP
diff --git a/man3/key_setsecret.3 b/man3/key_setsecret.3
index 10480c404b..93400427b9 100644
--- a/man3/key_setsecret.3
+++ b/man3/key_setsecret.3
@@ -28,7 +28,7 @@ mechanism (AUTH_DES). There should be no need for user programs to
use this functions.
The function
-.BR key_decryptsession ()
+.BR key_decryptsession ()
uses the (remote) server netname and takes the DES key
for decrypting. It uses the public key of the server and the
secret key associated with the effective UID of the calling process.
diff --git a/man3/remainder.3 b/man3/remainder.3
index d28472a52a..dbd2ced2ce 100644
--- a/man3/remainder.3
+++ b/man3/remainder.3
@@ -87,9 +87,13 @@ The denominator
.I y
is zero.
.SH "CONFORMING TO"
-IEC 60559. The three
-.B remainder*()
-functions are from C99.
+IEC 60559.
+The functions
+.BR remainder (),
+.BR remainderf (),
+and
+.BR remainderl ()
+are from C99.
The function
.BR drem ()
is from 4.3BSD. The float and long double variants
diff --git a/man3/system.3 b/man3/system.3
index d1dee7803a..043bb230a2 100644
--- a/man3/system.3
+++ b/man3/system.3
@@ -82,7 +82,7 @@ If the
.B _XOPEN_SOURCE
feature test macro is defined, then the macros described in
.BR wait (2)
-.RB ( WEXITSTATUS() ,
+.RB ( WEXITSTATUS (),
etc.) are made available when including
.IR <stdlib.h> .
.PP
diff --git a/man3/termios.3 b/man3/termios.3
index d01182a225..c0bb21d392 100644
--- a/man3/termios.3
+++ b/man3/termios.3
@@ -598,11 +598,11 @@ on failure and set
to indicate the error.
.LP
Note that
-.BI tcsetattr ()
+.BR tcsetattr ()
returns success if \fIany\fP of the requested changes could be
successfully carried out. Therefore, when making multiple changes
it may be necessary to follow this call with a further call to
-.BI tcgetattr ()
+.BR tcgetattr ()
to check that all changes have been performed successfully.
.SH NOTES
diff --git a/man4/epoll.4 b/man4/epoll.4
index a5a42762eb..13b22a2092 100644
--- a/man4/epoll.4
+++ b/man4/epoll.4
@@ -356,7 +356,8 @@ confusion.
One solution for this is to call, during the processing of event 47,
.BR epoll_ctl ( EPOLL_CTL_DEL )
to delete fd 13 and
-.BR close (), then mark its associated
+.BR close (),
+then mark its associated
data structure as removed and link it to a cleanup list. If you find another
event for fd 13 in your batch processing, you will discover the fd had been
previously removed and there will be no confusion.