swab(3)swab(3)Nameswab - swap bytes
Syntax
void swab(from, to, nbytes)
char *from, *to;
Description
The subroutine 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 machines. The nbytes should be even.
swab(3)