bitmap_pos_to_ord man page on Oracle

Man page or keyword search:  
man Server   33470 pages
apropos Keyword Search (all sections)
Output format
Oracle logo
[printable version]

BITMAP_POS_TO_ORD(9)	Basic Kernel Library Functions	  BITMAP_POS_TO_ORD(9)

       bitmap_pos_to_ord - find ordinal of set bit at given position in bitmap

       int bitmap_pos_to_ord(const unsigned long * buf, int pos, int bits);

	   pointer to a bitmap

	   a bit position in buf (0 <= pos < bits)

	   number of valid bit positions in buf

       Map the bit at position pos in buf (of length bits) to the ordinal of
       which set bit it is. If it is not set or if pos is not a valid bit
       position, map to -1.

       If for example, just bits 4 through 7 are set in buf, then pos values 4
       through 7 will get mapped to 0 through 3, respectively, and other pos
       values will get mapped to 0. When pos value 7 gets mapped to (returns)
       ord value 3 in this example, that means that bit 7 is the 3rd (starting
       with 0th) set bit in buf.

       The bit positions 0 through bits are valid positions in buf.

Kernel Hackers Manual 3.8.	   June 2014		  BITMAP_POS_TO_ORD(9)

List of man pages available for Oracle

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net