Query: bswap
OS: netbsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
BSWAP(3) BSD Library Functions Manual BSWAP(3)NAMEbswap16, bswap32, bswap64 -- byte-order swapping functionsLIBRARYStandard 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);DESCRIPTIONThe 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 ALSObyteorder(3)BSDMarch 17, 1998 BSD
Related Man Pages |
---|
be64dec(9) - freebsd |
be32dec(9) - debian |
be32enc(9) - debian |
bswap32(9) - debian |
bswap64(9) - debian |
Similar Topics in the Unix Linux Community |
---|
HP-UX 11 - disk errors |
How to create LVM snapshots? |
Byte swap timing |
Missing Modules After Compiling Kernel |