Use a single-font-change macro for a single argument. Remove quotation marks around a single argument (sendmmsg.2). The output from "nroff" and "groff" is unchanged. Signed-off-by: Bjarni Ingi Gislason <bjarniig@xxxxxxxxx> --- man2/select.2 | 10 +++++----- man2/semctl.2 | 8 ++++---- man2/semget.2 | 2 +- man2/semop.2 | 4 ++-- man2/sendfile.2 | 4 ++-- man2/sendmmsg.2 | 6 +++--- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/man2/select.2 b/man2/select.2 index 1c83187ed..723df139a 100644 --- a/man2/select.2 +++ b/man2/select.2 @@ -349,7 +349,7 @@ A signal was caught; see .B EINVAL .I nfds is negative or exceeds the -.BR RLIMIT_NOFILE +.B RLIMIT_NOFILE resource limit (see .BR getrlimit (2)). .TP @@ -404,7 +404,7 @@ The operation of and .BR pselect () is not affected by the -.BR O_NONBLOCK +.B O_NONBLOCK flag. .PP On some other UNIX systems, @@ -532,7 +532,7 @@ The Linux kernel allows file descriptor sets of arbitrary size, determining the length of the sets to be checked from the value of .IR nfds . However, in the glibc implementation, the -.IR fd_set +.I fd_set type is fixed in size. See also BUGS. .PP @@ -590,9 +590,9 @@ advertised via the constant on the range of file descriptors that can be specified in a file descriptor set. The Linux kernel imposes no fixed limit, but the glibc implementation makes -.IR fd_set +.I fd_set a fixed-size type, with -.BR FD_SETSIZE +.B FD_SETSIZE defined as 1024, and the .BR FD_* () macros operating according to that limit. diff --git a/man2/semctl.2 b/man2/semctl.2 index 76c6bf0c2..7b52f6e84 100644 --- a/man2/semctl.2 +++ b/man2/semctl.2 @@ -249,9 +249,9 @@ structure containing the same information as for However, .I sem_perm.mode is not checked for read access for -.IR semid +.I semid meaning that any user can employ this operation (just as any user may read -.IR /proc/sysvipc/sem +.I /proc/sysvipc/sem to obtain the same information). .TP .B GETALL @@ -585,13 +585,13 @@ flag (see Linux also updates .I sempid for -.BR SETVAL +.B SETVAL operations and semaphore adjustments. However, somewhat inconsistently, up to and including 4.5, Linux did not update .I sempid for -.BR SETALL +.B SETALL operations. This was rectified .\" commit a5f4db877177d2a3d7ae62a7bac3a5a27e083d7f diff --git a/man2/semget.2 b/man2/semget.2 index 957449a7b..1276d47fc 100644 --- a/man2/semget.2 +++ b/man2/semget.2 @@ -175,7 +175,7 @@ capability in the user namespace that governs its IPC namespace. .B EEXIST .B IPC_CREAT and -.BR IPC_EXCL +.B IPC_EXCL were specified in .IR semflg , but a semaphore set already exists for diff --git a/man2/semop.2 b/man2/semop.2 index 59ce9e91e..ba76fdd97 100644 --- a/man2/semop.2 +++ b/man2/semop.2 @@ -293,7 +293,7 @@ Note that if is interrupted by a signal, causing the call to fail with the error .BR EINTR , the contents of -.IR timeout +.I timeout are left unchanged. .SH RETURN VALUE If successful, @@ -473,7 +473,7 @@ this limit should not be raised above 1000, because of the risk of that .BR semop () fails due to kernel memory fragmentation when allocating memory to copy the -.IR sops +.I sops array. .TP .B SEMVMX diff --git a/man2/sendfile.2 b/man2/sendfile.2 index 4f85fdbd7..075e57b95 100644 --- a/man2/sendfile.2 +++ b/man2/sendfile.2 @@ -84,7 +84,7 @@ the number of bytes read from If .I offset is NULL, then data will be read from -.IR in_fd +.I in_fd starting at the file offset, and the file offset will be updated by the call. .PP @@ -92,7 +92,7 @@ and the file offset will be updated by the call. is the number of bytes to copy between the file descriptors. .PP The -.IR in_fd +.I in_fd argument must correspond to a file which supports .BR mmap (2)-like operations diff --git a/man2/sendmmsg.2 b/man2/sendmmsg.2 index 1332ff2cb..d6751cb06 100644 --- a/man2/sendmmsg.2 +++ b/man2/sendmmsg.2 @@ -31,7 +31,7 @@ sendmmsg \- send multiple messages on a socket .SH SYNOPSIS .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" -.BI "#include <sys/socket.h>" +.B #include <sys/socket.h> .PP .BI "int sendmmsg(int " sockfd ", struct mmsghdr *" msgvec \ ", unsigned int " vlen "," @@ -84,7 +84,7 @@ structure, as described in The .I msg_len field is used to return the number of bytes sent from the message in -.IR msg_hdr +.I msg_hdr (i.e., the same as the return value from a single .BR sendmsg (2) call). @@ -110,7 +110,7 @@ On return from the .I msg_len fields of successive elements of -.IR msgvec +.I msgvec are updated to contain the number of bytes transmitted from the corresponding .IR msg_hdr . The return value of the call indicates the number of elements of -- 2.20.1