mirror of https://github.com/mkerrisk/man-pages
Formatting fixes
This commit is contained in:
parent
bee2a27738
commit
f87925c6bf
|
@ -255,7 +255,7 @@ ENFILE, ENOBUFS, ENOMEM, ENOTSOCK, EOPNOTSUPP, EPROTO, EWOULDBLOCK. In
|
||||||
addition, SUSv2 documents EFAULT and ENOSR.
|
addition, SUSv2 documents EFAULT and ENOSR.
|
||||||
.LP
|
.LP
|
||||||
On Linux, the new socket returned by
|
On Linux, the new socket returned by
|
||||||
.B accept ()
|
.BR accept ()
|
||||||
does \fInot\fP inherit file status flags such as
|
does \fInot\fP inherit file status flags such as
|
||||||
.BR O_NONBLOCK
|
.BR O_NONBLOCK
|
||||||
and
|
and
|
||||||
|
|
|
@ -78,7 +78,9 @@ is bound to a special file which does not support synchronization.
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
In case the hard disk has write cache enabled,
|
In case the hard disk has write cache enabled,
|
||||||
the data may not really be on permanent storage when
|
the data may not really be on permanent storage when
|
||||||
.BR fsync ()/ fdatasync
|
.BR fsync ()
|
||||||
|
/
|
||||||
|
.BR fdatasync ()
|
||||||
return.
|
return.
|
||||||
.\" See
|
.\" See
|
||||||
.\" .BR hdparm (8)
|
.\" .BR hdparm (8)
|
||||||
|
|
|
@ -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
|
Specifies a value one greater than the maximum file descriptor number
|
||||||
that can be opened by this process.
|
that can be opened by this process.
|
||||||
Attempts
|
Attempts
|
||||||
.RB ( open "(), " pipe "(), " dup "(), etc.)"
|
.RB ( open (),
|
||||||
|
.BR pipe (),
|
||||||
|
.BR dup (),
|
||||||
|
etc.)"
|
||||||
to exceed this limit yield the error
|
to exceed this limit yield the error
|
||||||
.BR EMFILE .
|
.BR EMFILE .
|
||||||
.TP
|
.TP
|
||||||
|
|
|
@ -116,7 +116,8 @@ via a prior call to
|
||||||
.BR sigprocmask ()
|
.BR sigprocmask ()
|
||||||
(so that the default disposition for these signals does not occur if they
|
(so that the default disposition for these signals does not occur if they
|
||||||
are delivered between successive calls to
|
are delivered between successive calls to
|
||||||
.BR sigwaitinfo () or
|
.BR sigwaitinfo ()
|
||||||
|
or
|
||||||
.BR sigtimedwait ())
|
.BR sigtimedwait ())
|
||||||
and does not establish handlers for these signals.
|
and does not establish handlers for these signals.
|
||||||
.PP
|
.PP
|
||||||
|
|
|
@ -233,9 +233,13 @@ Some systems only have <sys/vfs.h>, other systems also have
|
||||||
including the former is the best choice.
|
including the former is the best choice.
|
||||||
|
|
||||||
LSB has deprecated the library calls
|
LSB has deprecated the library calls
|
||||||
.I [f]statfs()
|
.IR statfs ()
|
||||||
|
and
|
||||||
|
.IR fstatfs ()
|
||||||
and tells us to use
|
and tells us to use
|
||||||
.I [f]statvfs()
|
.IR statvfs ()
|
||||||
|
and
|
||||||
|
.IR statvfs ()
|
||||||
instead.
|
instead.
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR path_resolution (2),
|
.BR path_resolution (2),
|
||||||
|
|
|
@ -85,7 +85,7 @@ in the input before end of file was reached.
|
||||||
On success,
|
On success,
|
||||||
.BR getline ()
|
.BR getline ()
|
||||||
and
|
and
|
||||||
.B getdelim ()
|
.BR getdelim ()
|
||||||
return the number of characters read, including the delimiter character,
|
return the number of characters read, including the delimiter character,
|
||||||
but not including the terminating null character. This value can be used
|
but not including the terminating null character. This value can be used
|
||||||
to handle embedded null characters in the line read.
|
to handle embedded null characters in the line read.
|
||||||
|
|
|
@ -88,7 +88,7 @@ in case it is smaller than 8, and can in any case be obtained using
|
||||||
.IR sysconf(_SC_PASS_MAX) .
|
.IR sysconf(_SC_PASS_MAX) .
|
||||||
However, POSIX.2 withdraws the constants PASS_MAX
|
However, POSIX.2 withdraws the constants PASS_MAX
|
||||||
and _SC_PASS_MAX, and the function
|
and _SC_PASS_MAX, and the function
|
||||||
.B getpass ().
|
.BR getpass ().
|
||||||
Libc4 and libc5 have never supported PASS_MAX or _SC_PASS_MAX.
|
Libc4 and libc5 have never supported PASS_MAX or _SC_PASS_MAX.
|
||||||
Glibc2 accepts _SC_PASS_MAX and returns BUFSIZ (e.g., 8192).
|
Glibc2 accepts _SC_PASS_MAX and returns BUFSIZ (e.g., 8192).
|
||||||
.SH FILES
|
.SH FILES
|
||||||
|
|
|
@ -26,7 +26,7 @@ The function
|
||||||
opens the file or rewinds it if already open.
|
opens the file or rewinds it if already open.
|
||||||
|
|
||||||
The function
|
The function
|
||||||
.BR endttyent ()
|
.BR endttyent ()
|
||||||
closes the file.
|
closes the file.
|
||||||
|
|
||||||
The function
|
The function
|
||||||
|
|
|
@ -79,7 +79,7 @@ checks for an alphabetic character; in the standard \fB"C"\fP
|
||||||
locale, it is equivalent to
|
locale, it is equivalent to
|
||||||
.BI "(isupper(" c ") || islower(" c "))" \fR.
|
.BI "(isupper(" c ") || islower(" c "))" \fR.
|
||||||
In some locales, there may be additional characters for which
|
In some locales, there may be additional characters for which
|
||||||
.BR isalpha ()
|
.BR isalpha ()
|
||||||
is true\(emletters which are neither upper case nor lower
|
is true\(emletters which are neither upper case nor lower
|
||||||
case.
|
case.
|
||||||
.TP
|
.TP
|
||||||
|
|
|
@ -28,7 +28,7 @@ mechanism (AUTH_DES). There should be no need for user programs to
|
||||||
use this functions.
|
use this functions.
|
||||||
|
|
||||||
The function
|
The function
|
||||||
.BR key_decryptsession ()
|
.BR key_decryptsession ()
|
||||||
uses the (remote) server netname and takes the DES key
|
uses the (remote) server netname and takes the DES key
|
||||||
for decrypting. It uses the public key of the server and the
|
for decrypting. It uses the public key of the server and the
|
||||||
secret key associated with the effective UID of the calling process.
|
secret key associated with the effective UID of the calling process.
|
||||||
|
|
|
@ -87,9 +87,13 @@ The denominator
|
||||||
.I y
|
.I y
|
||||||
is zero.
|
is zero.
|
||||||
.SH "CONFORMING TO"
|
.SH "CONFORMING TO"
|
||||||
IEC 60559. The three
|
IEC 60559.
|
||||||
.B remainder*()
|
The functions
|
||||||
functions are from C99.
|
.BR remainder (),
|
||||||
|
.BR remainderf (),
|
||||||
|
and
|
||||||
|
.BR remainderl ()
|
||||||
|
are from C99.
|
||||||
The function
|
The function
|
||||||
.BR drem ()
|
.BR drem ()
|
||||||
is from 4.3BSD. The float and long double variants
|
is from 4.3BSD. The float and long double variants
|
||||||
|
|
|
@ -82,7 +82,7 @@ If the
|
||||||
.B _XOPEN_SOURCE
|
.B _XOPEN_SOURCE
|
||||||
feature test macro is defined, then the macros described in
|
feature test macro is defined, then the macros described in
|
||||||
.BR wait (2)
|
.BR wait (2)
|
||||||
.RB ( WEXITSTATUS() ,
|
.RB ( WEXITSTATUS (),
|
||||||
etc.) are made available when including
|
etc.) are made available when including
|
||||||
.IR <stdlib.h> .
|
.IR <stdlib.h> .
|
||||||
.PP
|
.PP
|
||||||
|
|
|
@ -598,11 +598,11 @@ on failure and set
|
||||||
to indicate the error.
|
to indicate the error.
|
||||||
.LP
|
.LP
|
||||||
Note that
|
Note that
|
||||||
.BI tcsetattr ()
|
.BR tcsetattr ()
|
||||||
returns success if \fIany\fP of the requested changes could be
|
returns success if \fIany\fP of the requested changes could be
|
||||||
successfully carried out. Therefore, when making multiple changes
|
successfully carried out. Therefore, when making multiple changes
|
||||||
it may be necessary to follow this call with a further call to
|
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.
|
to check that all changes have been performed successfully.
|
||||||
|
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
|
|
|
@ -356,7 +356,8 @@ confusion.
|
||||||
One solution for this is to call, during the processing of event 47,
|
One solution for this is to call, during the processing of event 47,
|
||||||
.BR epoll_ctl ( EPOLL_CTL_DEL )
|
.BR epoll_ctl ( EPOLL_CTL_DEL )
|
||||||
to delete fd 13 and
|
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
|
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
|
event for fd 13 in your batch processing, you will discover the fd had been
|
||||||
previously removed and there will be no confusion.
|
previously removed and there will be no confusion.
|
||||||
|
|
Loading…
Reference in New Issue