SWABSection: Linux Programmer's Manual (3)Updated: 2001-12-15 |
SWABSection: Linux Programmer's Manual (3)Updated: 2001-12-15 |
#include <unistd.h> void swab(const void *from, void *to, ssize_t n);
This function does nothing when n is negative. When n is positive and odd, it handles n-1 bytes as above, and does something unspecified with the last byte. (In other words, n should be even.)