#include <netinet/in.h>
int cl_bswap32 | ( | int | x | ) |
Swaps the byte order of a integer.
This function is a portable bswap implementation allowing explicit conversion to little-endian format (by a combination of cl_bswap32() and htonl())
Note that this function will work correctly with 32bit and larger int data types.
x | The integer whose bytes are to be reordered. |
Referenced by process_fd().