bswap32(3) netbsd man page | unix.com

Man Page: bswap32

Operating Environment: netbsd

Section: 3

BSWAP(3)						   BSD Library Functions Manual 						  BSWAP(3)

NAME
bswap16, bswap32, bswap64 -- byte-order swapping functions
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <sys/types.h> #include <machine/bswap.h> uint16_t bswap16(uint16_t); uint32_t bswap32(uint32_t); uint64_t bswap64(uint64_t);
DESCRIPTION
The bswap16(), bswap32(), and bswap64() functions return the value of their argument with the bytes inverted. They can be used to convert 16, 32 or 64 bits integers from little to big endian, or vice-versa.
SEE ALSO
byteorder(3)
BSD
March 17, 1998 BSD
Related Man Pages
le16dec(9) - freebsd
be32dec(9) - debian
be16enc(9) - debian
be64toh(9) - debian
bswap64(9) - debian
Similar Topics in the Unix Linux Community
Unix File Permissions
How to install PGX32 on Sparc 10 Ultra?
NetBSD 6.1.2: apm and admd not found
Grep command to show the number of results