Use a single-font-style macro (".B", ".I") for a single argument. Remove unneeded quotation marks (") in "inet.3". The output from "nroff" and "groff" is unchanged. Signed-off-by: Bjarni Ingi Gislason <bjarniig@xxxxxxxxx> --- man3/hsearch.3 | 2 +- man3/hypot.3 | 2 +- man3/iconv_open.3 | 4 ++-- man3/if_nameindex.3 | 2 +- man3/ilogb.3 | 4 ++-- man3/inet.3 | 2 +- man3/inet_net_pton.3 | 4 ++-- man3/inet_pton.3 | 2 +- man3/isatty.3 | 2 +- man3/isfdtype.3 | 2 +- man3/isgreater.3 | 14 +++++++------- man3/lgamma.3 | 2 +- man3/lio_listio.3 | 20 ++++++++++---------- man3/lockf.3 | 4 ++-- man3/log1p.3 | 4 ++-- man3/lsearch.3 | 2 +- 16 files changed, 36 insertions(+), 36 deletions(-) diff --git a/man3/hsearch.3 b/man3/hsearch.3 index 8985e6b88..9e7460c80 100644 --- a/man3/hsearch.3 +++ b/man3/hsearch.3 @@ -144,7 +144,7 @@ does after an unsuccessful search. This argument must either have the value .BR ENTER , meaning insert a copy of -.IR item +.I item (and return a pointer to the new hash table entry as the function result), or the value .BR FIND , diff --git a/man3/hypot.3 b/man3/hypot.3 index 678e6cf8b..f59b11efd 100644 --- a/man3/hypot.3 +++ b/man3/hypot.3 @@ -143,7 +143,7 @@ An underflow floating-point exception is raised. .IP These functions do not set -.IR errno +.I errno for this case. .\" FIXME . Is it intentional that these functions do not set errno? .\" They do set errno for the overflow case. diff --git a/man3/iconv_open.3 b/man3/iconv_open.3 index 6add85124..ed271215a 100644 --- a/man3/iconv_open.3 +++ b/man3/iconv_open.3 @@ -35,7 +35,7 @@ character encoding .IR tocode . .PP The values permitted for -.IR fromcode +.I fromcode and .I tocode and the supported @@ -95,7 +95,7 @@ The following error can occur, among others: .TP .B EINVAL The conversion from -.IR fromcode +.I fromcode to .I tocode is not supported by the diff --git a/man3/if_nameindex.3 b/man3/if_nameindex.3 index 196c49558..6918b8553 100644 --- a/man3/if_nameindex.3 +++ b/man3/if_nameindex.3 @@ -30,7 +30,7 @@ if_nameindex, if_freenameindex \- get network interface names and indexes .nf .B #include <net/if.h> .PP -.BI "struct if_nameindex *if_nameindex(void); +.B struct if_nameindex *if_nameindex(void); .BI "void if_freenameindex(struct if_nameindex *" "ptr" ); .fi .SH DESCRIPTION diff --git a/man3/ilogb.3 b/man3/ilogb.3 index 03e4a4119..56685295f 100644 --- a/man3/ilogb.3 +++ b/man3/ilogb.3 @@ -117,7 +117,7 @@ An invalid floating-point exception is raised, and .I errno is set to -.BR EDOM +.B EDOM (but see BUGS). .IP .TP @@ -127,7 +127,7 @@ An invalid floating-point exception is raised, and .I errno is set to -.BR EDOM +.B EDOM (but see BUGS). .SH ATTRIBUTES For an explanation of the terms used in this section, see diff --git a/man3/inet.3 b/man3/inet.3 index 695cb3219..a67db8be8 100644 --- a/man3/inet.3 +++ b/man3/inet.3 @@ -131,7 +131,7 @@ or hexadecimal, with a leading Addresses in any of these forms are collectively termed .IR "IPV4 numbers-and-dots notation" . The form that uses exactly four decimal numbers is referred to as -.IR "IPv4 dotted-decimal notation" +.I IPv4 dotted-decimal notation (or sometimes: .IR "IPv4 dotted-quad notation" ). .PP diff --git a/man3/inet_net_pton.3 b/man3/inet_net_pton.3 index 0c236d028..fc39b9c36 100644 --- a/man3/inet_net_pton.3 +++ b/man3/inet_net_pton.3 @@ -108,7 +108,7 @@ which may be less than the number of bytes in a complete network address. The .BR inet_net_ntop () function converts the network number in the buffer pointed to by -.IR netp +.I netp to presentation format; .I *netp is interpreted as a value in network byte order. @@ -154,7 +154,7 @@ The size of the output buffer was insufficient. .TP .B ENOENT .RB ( inet_net_pton ()) -.IR pres +.I pres was not in correct presentation format. .SH CONFORMING TO The diff --git a/man3/inet_pton.3 b/man3/inet_pton.3 index 9eaf19851..dcd86b7b3 100644 --- a/man3/inet_pton.3 +++ b/man3/inet_pton.3 @@ -48,7 +48,7 @@ argument must be either .B AF_INET or .BR AF_INET6 . -.IR dst +.I dst is written in network byte order. .PP The following address families are currently supported: diff --git a/man3/isatty.3 b/man3/isatty.3 index 60639c617..baa3af919 100644 --- a/man3/isatty.3 +++ b/man3/isatty.3 @@ -56,7 +56,7 @@ is not a valid file descriptor. .I fd refers to a file other than a terminal. POSIX.1 specifies the error -.BR ENOTTY +.B ENOTTY .\" FIXME . File a bug for this? for this case. .SH ATTRIBUTES diff --git a/man3/isfdtype.3 b/man3/isfdtype.3 index 746c9839f..028b4ec41 100644 --- a/man3/isfdtype.3 +++ b/man3/isfdtype.3 @@ -75,7 +75,7 @@ The function returns 1 if the file descriptor .I fd is of type -.IR fdtype +.I fdtype and 0 if it is not. On error, -1 is returned and .I errno diff --git a/man3/isgreater.3 b/man3/isgreater.3 index 11c68def8..9393b9377 100644 --- a/man3/isgreater.3 +++ b/man3/isgreater.3 @@ -58,7 +58,7 @@ be promoted to real-floating types). .BR isgreater () determines \fI(x)\ >\ (y)\fP without an exception if -.IR x +.I x or .I y is NaN. @@ -66,7 +66,7 @@ is NaN. .BR isgreaterequal () determines \fI(x)\ >=\ (y)\fP without an exception if -.IR x +.I x or .I y is NaN. @@ -74,7 +74,7 @@ is NaN. .BR isless () determines \fI(x)\ <\ (y)\fP without an exception if -.IR x +.I x or .I y is NaN. @@ -82,7 +82,7 @@ is NaN. .BR islessequal () determines \fI(x)\ <=\ (y)\fP without an exception if -.IR x +.I x or .I y is NaN. @@ -90,13 +90,13 @@ is NaN. .BR islessgreater () determines \fI(x)\ < (y) || (x) >\ (y)\fP without an exception if -.IR x +.I x or .I y is NaN. This macro is not equivalent to \fIx\ !=\ y\fP because that expression is true if -.IR x +.I x or .I y is NaN. @@ -112,7 +112,7 @@ these macros return 0 if either argument is a NaN. .PP .BR isunordered () returns 1 if -.IR x +.I x or .I y is NaN and 0 otherwise. diff --git a/man3/lgamma.3 b/man3/lgamma.3 index ad33259e0..b5bd5445a 100644 --- a/man3/lgamma.3 +++ b/man3/lgamma.3 @@ -138,7 +138,7 @@ The following errors can occur: Pole error: \fIx\fP is a nonpositive integer .I errno is set to -.BR ERANGE +.B ERANGE (but see BUGS). A divide-by-zero floating-point exception .RB ( FE_DIVBYZERO ) diff --git a/man3/lio_listio.3 b/man3/lio_listio.3 index 1b6639e5b..ca4c33143 100644 --- a/man3/lio_listio.3 +++ b/man3/lio_listio.3 @@ -53,12 +53,12 @@ argument is ignored. The I/O operations are queued for processing and the call returns immediately. When all of the I/O operations complete, asynchronous notification occurs, as specified by the -.IR sevp +.I sevp argument; see .BR sigevent (7) for details. If -.IR sevp +.I sevp is NULL, no asynchronous notification occurs. .PP The @@ -81,19 +81,19 @@ the .I aio_lio_opcode field specifies the I/O operation to be initiated, as follows: .TP 10 -.BR LIO_READ +.B LIO_READ Initiate a read operation. The operation is queued as for a call to .BR aio_read (3) specifying this control block. .TP -.BR LIO_WRITE +.B LIO_WRITE Initiate a write operation. The operation is queued as for a call to .BR aio_write (3) specifying this control block. .TP -.BR LIO_NOP +.B LIO_NOP Ignore this control block. .PP The remaining fields in each control block have the same meanings as for @@ -133,7 +133,7 @@ not about the individual I/O operations. One or more of the I/O operations may fail, but this does not prevent other operations completing. The status of individual I/O operations in -.IR aiocb_list +.I aiocb_list can be determined using .BR aio_error (3). When an operation has completed, @@ -156,13 +156,13 @@ Out of resources. The number of I/O operations specified by .I nitems would cause the limit -.BR AIO_MAX +.B AIO_MAX to be exceeded. .TP .B EINTR .I mode was -.BR LIO_WAIT +.B LIO_WAIT and a signal was caught before all I/O operations completed; see .BR signal (7). @@ -179,7 +179,7 @@ exceeds the limit .TP .B EIO One of more of the operations specified by -.IR aiocb_list +.I aiocb_list failed. .\" e.g., ioa_reqprio or aio_lio_opcode was invalid The application can check the status of each operation using @@ -193,7 +193,7 @@ fails with the error or .BR EIO , then some of the operations in -.IR aiocb_list +.I aiocb_list may have been initiated. If .BR lio_listio () diff --git a/man3/lockf.3 b/man3/lockf.3 index f83ae3b05..110e4dd28 100644 --- a/man3/lockf.3 +++ b/man3/lockf.3 @@ -137,7 +137,7 @@ is not an open file descriptor; or is .B F_LOCK or -.BR F_TLOCK +.B F_TLOCK and .I fd is not a writable file descriptor. @@ -180,7 +180,7 @@ POSIX.1-2001, POSIX.1-2008, SVr4. and .I mandatory-locking.txt in the Linux kernel source directory -.IR Documentation/filesystems +.I Documentation/filesystems (on older kernels, these files are directly under the .I Documentation directory, and diff --git a/man3/log1p.3 b/man3/log1p.3 index 6b34748c9..5526a25ca 100644 --- a/man3/log1p.3 +++ b/man3/log1p.3 @@ -115,7 +115,7 @@ The following errors can occur: Domain error: \fIx\fP is less than \-1 .I errno is set to -.BR EDOM +.B EDOM (but see BUGS). An invalid floating-point exception .RB ( FE_INVALID ) @@ -124,7 +124,7 @@ is raised. Pole error: \fIx\fP is \-1 .I errno is set to -.BR ERANGE +.B ERANGE (but see BUGS). A divide-by-zero floating-point exception .RB ( FE_DIVBYZERO ) diff --git a/man3/lsearch.3 b/man3/lsearch.3 index b4fdb6208..b6b960312 100644 --- a/man3/lsearch.3 +++ b/man3/lsearch.3 @@ -43,7 +43,7 @@ and perform a linear search for .I key in the array -.IR base +.I base which has .I *nmemb elements of -- 2.20.1