From 891337e5a26a9faa47ed08abfbaeaf58e11c669c Mon Sep 17 00:00:00 2001 From: jmc <> Date: Wed, 28 Sep 2022 20:27:12 +0000 Subject: use Fn rather than Nm for swab(); from josiah frentsos --- src/lib/libc/string/swab.3 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/lib/libc/string/swab.3') diff --git a/src/lib/libc/string/swab.3 b/src/lib/libc/string/swab.3 index 57afdd4d79..777f2833b6 100644 --- a/src/lib/libc/string/swab.3 +++ b/src/lib/libc/string/swab.3 @@ -25,9 +25,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: swab.3,v 1.9 2014/12/12 20:06:13 schwarze Exp $ +.\" $OpenBSD: swab.3,v 1.10 2022/09/28 20:27:12 jmc Exp $ .\" -.Dd $Mdocdate: December 12 2014 $ +.Dd $Mdocdate: September 28 2022 $ .Dt SWAB 3 .Os .Sh NAME @@ -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. -- cgit v1.2.3-55-g6feb