Re: swab.3: Use Fn consistently

2022-09-28 Thread Jason McIntyre
On Tue, Sep 27, 2022 at 06:13:20PM -0400, Josiah Frentsos wrote:
> Index: swab.3
> ===

fixed, thanks.

also just to add: i have taken note of your second vm.conf.5 diff.
however since i've come to dislike both macros (and how one always seems
as good as the other) i've asked for some advice on whether to make
these changes. i.e. it hasn;t been forgotten!

jmc

> RCS file: /cvs/src/lib/libc/string/swab.3,v
> retrieving revision 1.9
> diff -u -p -r1.9 swab.3
> --- swab.312 Dec 2014 20:06:13 -  1.9
> +++ swab.327 Sep 2022 22:09:45 -
> @@ -42,9 +42,9 @@
>  .Fa "ssize_t len"
>  .Fc
>  .Sh DESCRIPTION
> -The function
> +The
>  .Fn swab
> -copies
> +function copies
>  .Fa len
>  bytes from the location referenced by
>  .Fa src
> @@ -55,7 +55,7 @@ swapping adjacent bytes.
>  If
>  .Fa len
>  is zero or less,
> -.Nm
> +.Fn swab
>  does nothing.
>  If it is odd, what happens to the last byte is unspecified.
>  If
> @@ -68,7 +68,7 @@ overlap, behaviour is undefined.
>  .Xr memset 3
>  .Sh STANDARDS
>  The
> -.Nm
> +.Fn swab
>  function is compliant with the X/Open System Interfaces option of the
>  .St -p1003.1-2008
>  specification.
> 



swab.3: Use Fn consistently

2022-09-27 Thread Josiah Frentsos
Index: swab.3
===
RCS file: /cvs/src/lib/libc/string/swab.3,v
retrieving revision 1.9
diff -u -p -r1.9 swab.3
--- swab.3  12 Dec 2014 20:06:13 -  1.9
+++ swab.3  27 Sep 2022 22:09:45 -
@@ -42,9 +42,9 @@
 .Fa "ssize_t len"
 .Fc
 .Sh DESCRIPTION
-The function
+The
 .Fn swab
-copies
+function copies
 .Fa len
 bytes from the location referenced by
 .Fa src
@@ -55,7 +55,7 @@ swapping adjacent bytes.
 If
 .Fa len
 is zero or less,
-.Nm
+.Fn swab
 does nothing.
 If it is odd, what happens to the last byte is unspecified.
 If
@@ -68,7 +68,7 @@ overlap, behaviour is undefined.
 .Xr memset 3
 .Sh STANDARDS
 The
-.Nm
+.Fn swab
 function is compliant with the X/Open System Interfaces option of the
 .St -p1003.1-2008
 specification.