bitops(3) - NetBSD Manual Pages

Command: Section: Arch: Collection:  
BITOPS(3)               NetBSD Library Functions Manual              BITOPS(3)


NAME
bitops -- functions related to bits and integers
SYNOPSIS
#include <sys/bitops.h>
DESCRIPTION
The <sys/bitops.h> header provides macros and static inline functions related to bits and integers. Among these are: bitmap(3) bitmap manipulation macros fast_divide32(3) a function for fast 32-bit division ffs32(3) functions to find the first and last set bit in integers of type uint32_t and uint64_t ilog2(3) a macro for binary logarithm
SEE ALSO
bits(3), bitstring(3), cdefs(3), param(3)
HISTORY
The <sys/bitops.h> header first appeared in NetBSD 4.0. NetBSD 10.99 December 4, 2012 NetBSD 10.99
Powered by man-cgi (2024-03-20). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.