swab(3c) hpux man page | unix.com

Man Page: swab

Operating Environment: hpux

Section: 3c

swab(3C)																  swab(3C)

NAME
swab() - swap bytes
SYNOPSIS
DESCRIPTION
copies nbytes bytes pointed to by from to the array pointed to by to, exchanging adjacent even and odd bytes. It is useful for carrying binary data between byte-swapped and non-byte-swapped machines. nbytes should be even and non-negative. If nbytes is odd and positive uses nbytes-1 instead. If nbytes is negative, does nothing.
SEE ALSO
thread_safety(5).
STANDARDS CONFORMANCE
swab(3C)
Related Man Pages
kvm_kread(3kvm) - opensolaris
swab(3c) - sunos
swab(3p) - suse
swab(3) - osf1
kvm_kwrite(3kvm) - sunos
Similar Topics in the Unix Linux Community
Reading tapes from other platform
FTP script variable issue
Problems burning DVD-RW media
Help with output 32bit signed integer