SWAB(3) NEWLIB SWAB(3)NAME
6.40 `swab'--swap adjacent bytes
SYNOPSIS
#include <unistd.h>
void swab(const void *IN, void *OUT, ssize_t N);
DESCRIPTION
This function copies N bytes from the memory region pointed to by IN to
the memory region pointed to by OUT, exchanging adjacent even and odd
bytes.
PORTABILITY
`swab' requires no supporting OS subroutines.
SEE ALSOswab is part of the library. The full documentation for is maintained
as a Texinfo manual. If info and are properly installed at your site,
the command
info
will give you access to the complete manual.
NEWLIB April 2010 SWAB(3)