hpux man page for swab

Query: swab

OS: hpux

Section: 3c

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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
read(2) - plan9
kvm_kwrite(3kvm) - sunos
kvm_kread(3kvm) - sunos
kvm_uread(3kvm) - sunos
swab(3p) - posix
Similar Topics in the Unix Linux Community
Endian Conversion
FTP script variable issue
Problems burning DVD-RW media
Help with output 32bit signed integer