Formatting fixes

This commit is contained in:
Michael Kerrisk 2005-10-19 16:30:05 +00:00
parent bee2a27738
commit f87925c6bf
14 changed files with 33 additions and 18 deletions

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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),

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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.