Copyright (C) 2000-2012 |
Manpages SWABSection: Linux Programmer's Manual (3 )Updated: 1993-04-13 Index Return to Main Contents NAMEswab - swap adjacent bytesSYNOPSIS#include <unistd.h> void swab(const void *from, void *to, size_t n); DESCRIPTIONThe swab() function copies n bytes from the array pointed to by from to the array pointed to by to, exchanging adjacent even and odd bytes. This function is used to exchange data between machines that have different low/high byte ordering.RETURN VALUEThe swab() function returns no value.CONFORMING TOSVID 3, BSD 4.3SEE ALSObstring(3)
IndexThis document was created by man2html, using the manual pages. Time: 01:58:21 GMT, April 18, 2024 |