Man Page: bitmap_scnlistprintf
Operating Environment: suse
Section: 9
BITMAP_SCNLISTPRINTF(9) Basic Kernel Library Functions BITMAP_SCNLISTPRINTF(9)NAMEbitmap_scnlistprintf - convert bitmap to list format ASCII stringSYNOPSISint bitmap_scnlistprintf(char * buf, unsigned int buflen, const unsigned long * maskp, int nmaskbits);ARGUMENTSbuf 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 bitsDESCRIPTIONOutput 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.COPYRIGHTKernel Hackers Manual 2.6. July 2010 BITMAP_SCNLISTPRINTF(9)
| Related Man Pages |
|---|
| hwloc_bitmap_alloc_full(3) - debian |
| hwloc_bitmap_and(3) - debian |
| hwloc_bitmap_andnot(3) - debian |
| hwloc_bitmap_asprintf(3) - debian |
| hwloc_bitmap_clr(3) - debian |