1SWAB(3) Library Functions Manual SWAB(3)
23
4
NAME
6swab - swap bytes
7
SYNOPSIS
9swab(from, to, nbytes)
10char *from, *to;
11
DESCRIPTION
13Swab copies nbytes bytes pointed to by from to the position pointed to
14by to, exchanging adjacent even and odd bytes. It is useful for carry‐
15ing binary data between PDP11's and other machines. Nbytes should be
16even.
1718
19
20
SWAB(3)