- NetBSD Manual Pages
POPCOUNT(3) NetBSD Library Functions Manual POPCOUNT(3)
Powered by man-cgi (2021-06-01).
Maintained for NetBSD
by Kimmo Suominen.
Based on man-cgi by Panagiotis Christias.
popcount, popcountl, popcountll, popcount32, popcount64 -- count number
of bits set in a bit string
Standard C Library (libc, -lc)
popcount(unsigned int value);
popcountl(unsigned long value);
popcountll(unsigned long long value);
The popcount functions return the number of bits set in value.
The popcount(), popcountl(), popcountll(), popcount32(), and popcount64()
functions appeared in NetBSD 6.0.
NetBSD 10.99 August 22, 2011 NetBSD 10.99