swab(3) v7 man page | unix.com

Man Page: swab

Operating Environment: v7

Section: 3

SWAB(3) 						     Library Functions Manual							   SWAB(3)

NAME
swab - swap bytes
SYNOPSIS
swab(from, to, nbytes) char *from, *to;
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. SWAB(3)
Related Man Pages
kvm_kread(3kvm) - opensolaris
tiffswab(3tiff) - centos
read(2) - plan9
kvm_kread(3kvm) - sunos
kvm_uwrite(3kvm) - sunos
Similar Topics in the Unix Linux Community
Endian Conversion
FTP script variable issue
Remoute hosted UNIX/Linux Machine Free
Help with output 32bit signed integer