Unix/Linux Go Back    


NetBSD 6.1.5 - man page for popcountl (netbsd section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


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
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 08:21 PM.