Manual browser: bitops(3)
BITOPS(3) | Library Functions Manual | BITOPS(3) |
NAME
bitops — functions related to bits and integersSYNOPSIS
#include <sys/bitops.h>DESCRIPTION
The <sys/bitops.h> header includes macros and static inline functions related bits and integers. Among these are:- bitmap(3)
- bitmap manipulation macros
- ffs32(3)
- functions to find the first and last bit in integers of type uint32_t and uint64_t
- ilog2(3)
- a macro for binary logarithm
- fast_divide32(3)
- a function for fast 32-bit division
December 4, 2012 | NetBSD 7.0 |