manual page distributed with 4.1BSD
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Thu, 16 May 1985 06:53:26 +0000 (22:53 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Thu, 16 May 1985 06:53:26 +0000 (22:53 -0800)
SCCS-vsn: lib/libc/string/swab.3 4.1

usr/src/lib/libc/string/swab.3 [new file with mode: 0644]

diff --git a/usr/src/lib/libc/string/swab.3 b/usr/src/lib/libc/string/swab.3
new file mode 100644 (file)
index 0000000..4328ad9
--- /dev/null
@@ -0,0 +1,24 @@
+.\"    @(#)swab.3      4.1 (Berkeley) %G%
+.\"
+.TH SWAB 3 
+.AT 3
+.SH NAME
+swab \- swap bytes
+.SH SYNOPSIS
+.nf
+.B swab(from, to, nbytes)
+.B char *from, *to;
+.fi
+.SH DESCRIPTION
+.I Swab
+copies
+.I nbytes
+bytes pointed to by
+.I from
+to the position pointed to by
+.I to,
+exchanging adjacent even and odd bytes.
+It is useful for carrying binary data between
+PDP11's and other machines.
+.I Nbytes
+should be even.