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
swab(3c) - sunos
read(2) - plan9
swab(3p) - suse
swab(3) - osf1
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