suse man page for bitmap_scnlistprintf

Query: bitmap_scnlistprintf

OS: suse

Section: 9

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

BITMAP_SCNLISTPRINTF(9) 				  Basic Kernel Library Functions				   BITMAP_SCNLISTPRINTF(9)

NAME
bitmap_scnlistprintf - convert bitmap to list format ASCII string
SYNOPSIS
int bitmap_scnlistprintf(char * buf, unsigned int buflen, const unsigned long * maskp, int nmaskbits);
ARGUMENTS
buf byte buffer into which string is placed buflen reserved size of buf, in bytes maskp pointer to bitmap to convert nmaskbits size of bitmap, in bits
DESCRIPTION
Output format is a comma-separated list of decimal numbers and ranges. Consecutively set bits are shown as two hyphen-separated decimal numbers, the smallest and largest bit numbers set in the range. Output format is compatible with the format accepted as input by bitmap_parselist. The return value is the number of characters which would be generated for the given input, excluding the trailing '', as per ISO C99.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 BITMAP_SCNLISTPRINTF(9)
Related Man Pages
vsnprintf(9) - suse
hwloc_bitmap_alloc_full(3) - debian
hwloc_bitmap_asprintf(3) - debian
hwloc_bitmap_compare_first(3) - debian
pmnumberstr_r(3) - centos
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Change directory error
Cut command on RHEL 6.8 compatibility issues
A (ksh) Library For and From UNIX.com
32 bit process addressing more than 4GB