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(3p) - suse
kvm_kwrite(3kvm) - sunos
kvm_kread(3kvm) - sunos
kvm_kwrite(3kvm) - opensolaris
swab(3p) - posix
Similar Topics in the Unix Linux Community
Endian Conversion
How to determince CD is bootable or not
FTP script variable issue
Remoute hosted UNIX/Linux Machine Free