netbsd man page for popcount32

Query: popcount32

OS: netbsd

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

POPCOUNT(3)						   BSD Library Functions Manual 					       POPCOUNT(3)

NAME
popcount, popcountl, popcountll, popcount32, popcount64 -- count number of bits set in a bit string
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <strings.h> unsigned int popcount(unsigned int value); unsigned int popcountl(unsigned long value); unsigned int popcountll(unsigned long long value); #include <stdint.h> unsigned int popcount32(uint32_t value); unsigned int popcount64(uint64_t value);
DESCRIPTION
The popcount functions returns the number of bits set in value.
SEE ALSO
ffs(3)
HISTORY
The popcount(), popcountl(), popcountll(), popcount32(), and popcount64() functions appeared in NetBSD 6.0.
BSD
August 22, 2011 BSD
Related Man Pages
atomic_and(3) - netbsd
atomic_and_uint(3) - netbsd
atomic_or_32(3) - netbsd
atomic_or_32_nv(3) - netbsd
atomic_or(3) - netbsd
Similar Topics in the Unix Linux Community
sorting left-justified numeric values
How to install PGX32 on Sparc 10 Ultra?
Better to Use Return Code or wc -l Output?
RFC - Korn shell prompt
Grep command to show the number of results