NAME
swab - swap bytes

SYNOPSIS
void swab(from, to, nbytes)
const void *from; void *to;
size_t nbytes;

DESCRIPTION
Swab copies nbytes bytes pointed to by from to the position pointed
to by to, exchanging adjacent even and odd bytes. It is useful for
carrying binary data between PDP11’s and other machines. Nbytes
should be even.