SWAB(S) XENIX System V SWAB(S)
Name
swab - Swaps bytes.
Syntax
void swab (from, to, nbytes)
char *from, *to;
int nbytes;
Description
swab copies nbytes pointed to by from to the position
pointed to by to, exchanging adjacent even and odd bytes.
It is useful for transporting binary data between machines
that differ in the ordering of bytes. nbytes should be
even.
Page 1 (printed 8/7/87)