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
swab(3c) - sunos
kvm_kwrite(3kvm) - sunos
kvm_kread(3kvm) - sunos
kvm_uwrite(3kvm) - sunos
kvm_uread(3kvm) - opensolaris
Similar Topics in the Unix Linux Community
Endian Conversion
Reading tapes from other platform
FTP script variable issue
Problems burning DVD-RW media