diff --git a/man2/accept.2 b/man2/accept.2 index 1e5aaf0e3..ba0015751 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 36cd12ca9..38911126c 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 fc78164b4..08597a5cd 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 40cc13237..5a8f9c2ce 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 593f3aa33..b3d4ef4bc 100644 --- a/man2/statfs.2 +++ b/man2/statfs.2 @@ -233,9 +233,13 @@ Some systems only have , 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 e7bd55d5f..c226be9af 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 33777ebfe..413815811 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 84513ba0b..f27a2eb69 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 9754df3f0..233bc20e5 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 10480c404..93400427b 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 d28472a52..dbd2ced2c 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 d1dee7803..043bb230a 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 . .PP diff --git a/man3/termios.3 b/man3/termios.3 index d01182a22..c0bb21d39 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 a5a42762e..13b22a209 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.