Copies while swapping bytes.
#include <stdlib.h> void swab (const char *src, char *dest, int n);
src
dest
n
Use swab to copy n
bytes from the src
buffer while swapping each pair of adjacent bytes.
If n
is odd, the last byte is copied directly from the src
buffer to the dest
buffer, with no byte swapping.
Nothing.
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.0 | intime/rt/include/stdlib.h | stdlib.h | clib.lib |