Use a single-font-style macro (".B", ".I") for a single argument. Remove unneeded quotation marks ("). Signed-off-by: Bjarni Ingi Gislason <bjarniig@xxxxxxxxx> --- man7/cpuset.7 | 8 ++--- man7/credentials.7 | 10 +++--- man7/epoll.7 | 2 +- man7/fanotify.7 | 10 +++--- man7/feature_test_macros.7 | 62 +++++++++++++++++++------------------- man7/fifo.7 | 2 +- man7/futex.7 | 2 +- 7 files changed, 48 insertions(+), 48 deletions(-) diff --git a/man7/cpuset.7 b/man7/cpuset.7 index ac91a8017..f78456b29 100644 --- a/man7/cpuset.7 +++ b/man7/cpuset.7 @@ -929,11 +929,11 @@ Its CPUs and memory nodes must be a (possibly equal) subset of its parent's. .IP * It can be marked -.IR cpu_exclusive +.I cpu_exclusive only if its parent is. .IP * It can be marked -.IR mem_exclusive +.I mem_exclusive only if its parent is. .IP * If it is @@ -1503,9 +1503,9 @@ syntax that works on any shell, but alas more obscurely, by using the .BR migratepages (8), .BR numactl (8) .PP -.IR Documentation/cgroup\-v1/cpusets.txt +.I Documentation/cgroup\-v1/cpusets.txt in the Linux kernel source tree .\" commit 45ce80fb6b6f9594d1396d44dd7e7c02d596fef8 (or -.IR Documentation/cpusets.txt +.I Documentation/cpusets.txt before Linux 2.6.29) diff --git a/man7/credentials.7 b/man7/credentials.7 index cf7764bf6..6e1891aac 100644 --- a/man7/credentials.7 +++ b/man7/credentials.7 @@ -117,7 +117,7 @@ All of the processes in a session share a .IR "controlling terminal" . The controlling terminal is established when the session leader first opens a terminal (unless the -.BR O_NOCTTY +.B O_NOCTTY flag is specified when calling .BR open (2)). A terminal may be the controlling terminal of at most one session. @@ -129,15 +129,15 @@ other jobs in the session are Only the foreground job may read from the terminal; when a process in the background attempts to read from the terminal, its process group is sent a -.BR SIGTTIN +.B SIGTTIN signal, which suspends the job. If the -.BR TOSTOP +.B TOSTOP flag has been set for the terminal (see .BR termios (3)), then only the foreground job may write to the terminal; writes from background job cause a -.BR SIGTTOU +.B SIGTTOU signal to be generated, which suspends the job. When terminal keys that generate a signal (such as the .I interrupt @@ -161,7 +161,7 @@ See also the discussion of the .BR F_GETOWN_EX , .BR F_SETOWN , and -.BR F_SETOWN_EX +.B F_SETOWN_EX operations in .BR fcntl (2). .SS User and group identifiers diff --git a/man7/epoll.7 b/man7/epoll.7 index 871b36883..6ceaee3b5 100644 --- a/man7/epoll.7 +++ b/man7/epoll.7 @@ -607,7 +607,7 @@ and Solaris has The set of file descriptors that is being monitored via an epoll file descriptor can be viewed via the entry for the epoll file descriptor in the process's -.IR /proc/[pid]/fdinfo +.I /proc/[pid]/fdinfo directory. See .BR proc (5) diff --git a/man7/fanotify.7 b/man7/fanotify.7 index 00e080522..124ea8ad9 100644 --- a/man7/fanotify.7 +++ b/man7/fanotify.7 @@ -268,7 +268,7 @@ was closed. .B FAN_Q_OVERFLOW The event queue exceeded the limit of 16384 entries. This limit can be overridden by specifying the -.BR FAN_UNLIMITED_QUEUE +.B FAN_UNLIMITED_QUEUE flag when calling .BR fanotify_init (2). .TP @@ -312,7 +312,7 @@ field of the first metadata structure in the buffer. This macro uses the length indicated in the .I event_len field of the metadata structure pointed to by -.IR meta +.I meta to calculate the address of the next metadata structure that follows .IR meta . .I len @@ -323,7 +323,7 @@ and reduces .I len by the number of bytes in the metadata structure that has been skipped over (i.e., it subtracts -.IR meta\->event_len +.I meta\->event_len from .IR len ). .PP @@ -371,7 +371,7 @@ to allow the file operation or to deny the file operation. .PP If access is denied, the requesting application call will receive an -.BR EPERM +.B EPERM error. .SS Closing the fanotify file descriptor .PP @@ -501,7 +501,7 @@ the following bugs exist: .IP * 3 On Linux, a filesystem object may be accessible through multiple paths, for example, a part of a filesystem may be remounted using the -.IR \-\-bind +.I \-\-bind option of .BR mount (8). A listener that marked a mount will be notified only of events that were diff --git a/man7/feature_test_macros.7 b/man7/feature_test_macros.7 index 87630f4b9..24af1f24a 100644 --- a/man7/feature_test_macros.7 +++ b/man7/feature_test_macros.7 @@ -151,13 +151,13 @@ in Linux glibc 2.\fIx\fP, First, though a summary of a few details for the impatient: .IP * 3 The macros that you most likely need to use in modern source code are -.BR _POSIX_C_SOURCE +.B _POSIX_C_SOURCE (for definitions from various versions of POSIX.1), -.BR _XOPEN_SOURCE +.B _XOPEN_SOURCE (for definitions from various versions of SUS), -.BR _GNU_SOURCE +.B _GNU_SOURCE (for GNU and/or Linux specific stuff), and -.BR _DEFAULT_SOURCE +.B _DEFAULT_SOURCE (to get definitions that would normally be provided by default). .IP * Certain macros are defined with default values. @@ -167,9 +167,9 @@ it may not be necessary to define them explicitly. Full details of the defaults are given later in this man page. .IP * Defining -.BR _XOPEN_SOURCE +.B _XOPEN_SOURCE with a value of 600 or greater produces the same effects as defining -.BR _POSIX_C_SOURCE +.B _POSIX_C_SOURCE with a value of 200112L or greater. Where one sees .IP @@ -189,9 +189,9 @@ _XOPEN_SOURCE >= 600 .in .IP * Defining -.BR _XOPEN_SOURCE +.B _XOPEN_SOURCE with a value of 700 or greater produces the same effects as defining -.BR _POSIX_C_SOURCE +.B _POSIX_C_SOURCE with a value of 200809L or greater. Where one sees .IP @@ -286,7 +286,7 @@ plus the XSI extension). If .B __STRICT_ANSI__ is not defined, or -.BR _XOPEN_SOURCE +.B _XOPEN_SOURCE is defined with a value greater than or equal to 500 .I and neither @@ -324,7 +324,7 @@ is defined with the value 200809L. .RE .IP In addition, defining -.BR _XOPEN_SOURCE +.B _XOPEN_SOURCE with a value of 500 or greater produces the same effects as defining .BR _XOPEN_SOURCE_EXTENDED . .TP @@ -339,7 +339,7 @@ Defining with a value of 500 or more also produces the same effect as defining .BR _XOPEN_SOURCE_EXTENDED . Use of -.BR _XOPEN_SOURCE_EXTENDED +.B _XOPEN_SOURCE_EXTENDED in new source code should be avoided. .IP Since defining @@ -364,7 +364,7 @@ also exposes ISO C (1990) Amendment 1 ("C95") definitions. (The primary change in C95 was support for international character sets.) .IP Invoking the C compiler with the option -.IR \-std=c99 +.I \-std=c99 produces the same effects as defining this macro. .TP .BR _ISOC11_SOURCE " (since glibc 2.16)" @@ -373,7 +373,7 @@ Defining this macro also enables C99 and C95 features (like .BR _ISOC99_SOURCE ). .IP Invoking the C compiler with the option -.IR \-std=c11 +.I \-std=c11 produces the same effects as defining this macro. .TP .B _LARGEFILE64_SOURCE @@ -397,7 +397,7 @@ New programs should not employ this macro; instead .I _FILE_OFFSET_BITS=64 should be employed. .TP -.BR _LARGEFILE_SOURCE +.B _LARGEFILE_SOURCE This macro was historically used to expose certain functions (specifically .BR fseeko (3) and @@ -407,14 +407,14 @@ that address limitations of earlier APIs and .BR ftell (3)) that use -.IR "long int" +.I long int for file offsets. This macro is implicitly defined if -.BR _XOPEN_SOURCE +.B _XOPEN_SOURCE is defined with a value greater than or equal to 500. New programs should not employ this macro; defining -.BR _XOPEN_SOURCE +.B _XOPEN_SOURCE as just described or defining .B _FILE_OFFSET_BITS with the value 64 is the preferred mechanism to achieve the same result. @@ -458,16 +458,16 @@ Since glibc 2.20, this macro is deprecated. It now has the same effect as defining .BR _DEFAULT_SOURCE , but generates a compile-time warning (unless -.BR _DEFAULT_SOURCE +.B _DEFAULT_SOURCE .\" commit ade40b10ff5fa59a318cf55b9d8414b758e8df78 is also defined). Use .B _DEFAULT_SOURCE instead. To allow code that requires -.BR _BSD_SOURCE +.B _BSD_SOURCE in glibc 2.19 and earlier and -.BR _DEFAULT_SOURCE +.B _DEFAULT_SOURCE in glibc 2.20 and later to compile without warnings, define .I both .B _BSD_SOURCE @@ -508,7 +508,7 @@ declarations of a range of functions with the suffix "at"; see .BR openat (2). Since glibc 2.10, this macro is also implicitly defined if -.BR _POSIX_C_SOURCE +.B _POSIX_C_SOURCE is defined with a value greater than or equal to 200809L. .TP .B _GNU_SOURCE @@ -531,13 +531,13 @@ with the value 700 In addition, various GNU-specific extensions are also exposed. .IP Since glibc 2.19, defining -.BR _GNU_SOURCE +.B _GNU_SOURCE also has the effect of implicitly defining .BR _DEFAULT_SOURCE . In glibc versions before 2.20, defining -.BR _GNU_SOURCE +.B _GNU_SOURCE also had the effect of implicitly defining -.BR _BSD_SOURCE +.B _BSD_SOURCE and .BR _SVID_SOURCE . .TP @@ -555,10 +555,10 @@ this macro also exposed definitions of certain reentrant functions. .IP However, glibc has been thread-safe by default for many years; since glibc 2.3, the only effect of defining -.BR _REENTRANT +.B _REENTRANT has been to enable one or two of the same declarations that are also enabled by defining -.BR _POSIX_C_SOURCE +.B _POSIX_C_SOURCE with a value of 199606L or greater. .IP .B _REENTRANT @@ -657,11 +657,11 @@ since version 4.0. .PP If no feature test macros are explicitly defined, then the following feature test macros are defined by default: -.BR _BSD_SOURCE +.B _BSD_SOURCE (in glibc 2.19 and earlier), -.BR _SVID_SOURCE +.B _SVID_SOURCE (in glibc 2.19 and earlier), -.BR _DEFAULT_SOURCE +.B _DEFAULT_SOURCE (since glibc 2.19), .BR _POSIX_SOURCE , and @@ -677,7 +677,7 @@ If any of .BR _POSIX_C_SOURCE , .BR _XOPEN_SOURCE , .BR _XOPEN_SOURCE_EXTENDED , -.BR _BSD_SOURCE +.B _BSD_SOURCE (in glibc 2.19 and earlier), or .B _SVID_SOURCE @@ -686,7 +686,7 @@ is explicitly defined, then .BR _BSD_SOURCE , .BR _SVID_SOURCE , and -.BR _DEFAULT_SOURCE +.B _DEFAULT_SOURCE are not defined by default. .PP If diff --git a/man7/fifo.7 b/man7/fifo.7 index fca359eb8..31c745c3e 100644 --- a/man7/fifo.7 +++ b/man7/fifo.7 @@ -62,7 +62,7 @@ signal. FIFO special files can be created by .BR mkfifo (3), and are indicated by -.IR "ls\ \-l" +.I ls\ \-l with the file type \(aqp\(aq. .SH SEE ALSO .BR mkfifo (1), diff --git a/man7/futex.7 b/man7/futex.7 index f59725b61..467a4c1b1 100644 --- a/man7/futex.7 +++ b/man7/futex.7 @@ -120,7 +120,7 @@ primitives; it is by no means the only one. .BR set_tid_address (2), .BR pthreads (7) .PP -.IR "Fuss, Futexes and Furwocks: Fast Userlevel Locking in Linux" +.I Fuss, Futexes and Furwocks: Fast Userlevel Locking in Linux (proceedings of the Ottawa Linux Symposium 2002), futex example library, futex-*.tar.bz2 .UR ftp://ftp.kernel.org\:/pub\:/linux\:/kernel\:/people\:/rusty/ -- 2.20.1