__bitmap_parse 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_PARSE(9)	Basic Kernel Library Functions	     __BITMAP_PARSE(9)

       __bitmap_parse - convert an ASCII hex string into a bitmap.

       int __bitmap_parse(const char * buf, unsigned int buflen, int is_user,
			  unsigned long * maskp, int nmaskbits);

	   pointer to buffer containing string.

	   buffer size in bytes. If string is smaller than this then it must
	   be terminated with a \0.

	   location of buffer, 0 indicates kernel space

	   pointer to bitmap array that will contain result.

	   size of bitmap, in bits.

       Commas group hex digits into chunks. Each chunk defines exactly 32 bits
       of the resultant bitmask. No chunk may specify a value larger than 32
       bits (-EOVERFLOW), and if a chunk specifies a smaller value then
       leading 0-bits are prepended.  -EINVAL is returned for illegal
       characters and for grouping errors such as “1,,5”, “,44”, “,” and "".
       Leading and trailing whitespace accepted, but not embedded whitespace.

Kernel Hackers Manual 3.8.	   June 2014		     __BITMAP_PARSE(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