[PATCH] man3/w-z.3: srcfix: Use a single-font-style macro for a single argument

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Use a single-font-style macro (".B", ".I") for a single argument.

  Remove unneeded quotation marks (").

  The output from "nroff" and "groff" is unchanged, except for the style
of a variable 'i' in the file "wcsncmp.3".

Signed-off-by: Bjarni Ingi Gislason <bjarniig@xxxxxxxxx>
---
 man3/wcpcpy.3     | 2 +-
 man3/wcpncpy.3    | 4 ++--
 man3/wcscpy.3     | 2 +-
 man3/wcscspn.3    | 2 +-
 man3/wcsncmp.3    | 2 +-
 man3/wcsnrtombs.3 | 2 +-
 man3/wcsrtombs.3  | 2 +-
 man3/wcstombs.3   | 4 ++--
 man3/wctrans.3    | 2 +-
 man3/wmemchr.3    | 4 ++--
 man3/wmemcmp.3    | 4 ++--
 man3/wprintf.3    | 2 +-
 man3/xdr.3        | 4 ++--
 man3/y0.3         | 4 ++--
 14 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/man3/wcpcpy.3 b/man3/wcpcpy.3
index 7d90a1344..8d4ab9477 100644
--- a/man3/wcpcpy.3
+++ b/man3/wcpcpy.3
@@ -56,7 +56,7 @@ The strings may not overlap.
 .PP
 The programmer must ensure that there
 is room for at least
-.IR wcslen(src)+1
+.I wcslen(src)+1
 wide characters at
 .IR dest .
 .SH RETURN VALUE
diff --git a/man3/wcpncpy.3 b/man3/wcpncpy.3
index c51d943f8..8067b29ff 100644
--- a/man3/wcpncpy.3
+++ b/man3/wcpncpy.3
@@ -62,7 +62,7 @@ wide characters are
 written at
 .IR dest .
 If the length
-.IR wcslen(src)
+.I wcslen(src)
 is smaller than
 .IR n ,
 the remaining wide characters in the array pointed to
@@ -70,7 +70,7 @@ by
 .I dest
 are filled with L\(aq\\0\(aq characters.
 If the length
-.IR wcslen(src)
+.I wcslen(src)
 is greater than or equal
 to
 .IR n ,
diff --git a/man3/wcscpy.3 b/man3/wcscpy.3
index fcbff24d6..81abff2ed 100644
--- a/man3/wcscpy.3
+++ b/man3/wcscpy.3
@@ -39,7 +39,7 @@ The strings may not overlap.
 .PP
 The programmer must ensure that there is
 room for at least
-.IR "wcslen(src)+1"
+.I wcslen(src)+1
 wide characters at
 .IR dest .
 .SH RETURN VALUE
diff --git a/man3/wcscspn.3 b/man3/wcscspn.3
index 60a98c9f5..d50880d88 100644
--- a/man3/wcscspn.3
+++ b/man3/wcscspn.3
@@ -56,7 +56,7 @@ of any of the characters in
 the wide-character string
 .IR reject ,
 or
-.IR wcslen(wcs)
+.I wcslen(wcs)
 if there is none.
 .SH ATTRIBUTES
 For an explanation of the terms used in this section, see
diff --git a/man3/wcsncmp.3 b/man3/wcsncmp.3
index 9c12ab213..abc1cdf7b 100644
--- a/man3/wcsncmp.3
+++ b/man3/wcsncmp.3
@@ -62,7 +62,7 @@ greater than
 It returns an integer less than zero if at the first
 differing position
 .I i
-.RI (i
+.RI ( i
 <
 .IR n ),
 the corresponding
diff --git a/man3/wcsnrtombs.3 b/man3/wcsnrtombs.3
index d45b54127..add66a2bb 100644
--- a/man3/wcsnrtombs.3
+++ b/man3/wcsnrtombs.3
@@ -122,7 +122,7 @@ excluding the terminating null byte (\(aq\\0\(aq), is
 returned.
 .PP
 If
-.IR dest
+.I dest
 is NULL,
 .I len
 is ignored,
diff --git a/man3/wcsrtombs.3 b/man3/wcsrtombs.3
index 9808976f5..3187ae55b 100644
--- a/man3/wcsrtombs.3
+++ b/man3/wcsrtombs.3
@@ -88,7 +88,7 @@ excluding the terminating null byte (\(aq\\0\(aq),
 is returned.
 .PP
 If
-.IR dest
+.I dest
 is NULL,
 .I len
 is ignored,
diff --git a/man3/wcstombs.3 b/man3/wcstombs.3
index 2f8a49447..122341392 100644
--- a/man3/wcstombs.3
+++ b/man3/wcstombs.3
@@ -37,7 +37,7 @@ At most
 bytes are written to
 .IR dest .
 The sequence of characters placed in
-.IR dest
+.I dest
 begins in the initial shift state.
 The conversion can stop for three reasons:
 .IP 1. 3
@@ -66,7 +66,7 @@ at
 .IR dest .
 .PP
 If
-.IR dest
+.I dest
 is NULL,
 .I n
 is ignored, and the conversion proceeds as
diff --git a/man3/wctrans.3 b/man3/wctrans.3
index 8ffe4f4e6..1bf98fa33 100644
--- a/man3/wctrans.3
+++ b/man3/wctrans.3
@@ -30,7 +30,7 @@ which can map a wide character to
 another wide character.
 Its nature is implementation-dependent, but the special
 value
-.IR "(wctrans_t)\ 0"
+.I (wctrans_t)\ 0
 denotes an invalid mapping.
 Nonzero
 .I wctrans_t
diff --git a/man3/wmemchr.3 b/man3/wmemchr.3
index e28e37869..104ebeb36 100644
--- a/man3/wmemchr.3
+++ b/man3/wmemchr.3
@@ -29,7 +29,7 @@ function is the wide-character equivalent of the
 .BR memchr (3)
 function.
 It searches the
-.IR n
+.I n
 wide characters starting at
 .I s
 for
@@ -41,7 +41,7 @@ The
 function returns a pointer to the first occurrence of
 .I c
 among the
-.IR n
+.I n
 wide characters starting at
 .IR s ,
 or NULL if
diff --git a/man3/wmemcmp.3 b/man3/wmemcmp.3
index 26726ce0c..1ad434fe5 100644
--- a/man3/wmemcmp.3
+++ b/man3/wmemcmp.3
@@ -28,7 +28,7 @@ function is the wide-character equivalent of the
 .BR memcmp (3)
 function.
 It compares the
-.IR n
+.I n
 wide-characters starting at
 .I s1
 and the
@@ -42,7 +42,7 @@ function returns
 zero if the wide-character arrays of size
 .I n
 at
-.IR s1
+.I s1
 and
 .I s2
 are equal.
diff --git a/man3/wprintf.3 b/man3/wprintf.3
index 9ce6ce3be..76328c850 100644
--- a/man3/wprintf.3
+++ b/man3/wprintf.3
@@ -139,7 +139,7 @@ argument, but these functions do not return \-1 upon
 buffer overflow on Linux.)
 .PP
 The treatment of the conversion characters
-.BR c
+.B c
 and
 .B s
 is different:
diff --git a/man3/xdr.3 b/man3/xdr.3
index 2b52817de..b6da59d3e 100644
--- a/man3/xdr.3
+++ b/man3/xdr.3
@@ -298,7 +298,7 @@ first before calling any other XDR APIs.
 This inserts additional bytes in the stream to provide
 record boundary information.
 Also, XDR streams created with different
-.BR xdr*_create
+.B xdr*_create
 APIs are not compatible for the same reason.
 .PP
 .nf
@@ -523,7 +523,7 @@ representation.
 This routine returns one if it succeeds, zero otherwise.
 .PP
 .nf
-.BI "bool_t xdr_void(void);"
+.B bool_t xdr_void(void);
 .fi
 .IP
 This routine always returns one.
diff --git a/man3/y0.3 b/man3/y0.3
index 90056b10f..970c35056 100644
--- a/man3/y0.3
+++ b/man3/y0.3
@@ -188,7 +188,7 @@ Pole error: \fIx\fP is 0.0
 .I errno
 is set to
 .\" FIXME . y0(0.0) gives EDOM
-.BR ERANGE
+.B ERANGE
 (but see BUGS).
 No
 .B FE_DIVBYZERO
@@ -261,7 +261,7 @@ On a pole error, these functions set
 to
 .BR EDOM ,
 instead of
-.BR ERANGE
+.B ERANGE
 as POSIX.1-2004 requires.
 .\" FIXME .
 .\" Bug raised: http://sourceware.org/bugzilla/show_bug.cgi?id=6807
-- 
2.20.1



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux