bitmap_print_to_pagebuf — convert bitmap to list or hex format ASCII string
int bitmap_print_to_pagebuf ( | bool list, |
| char * buf, | |
| const unsigned long * maskp, | |
int nmaskbits); |
listindicates whether the bitmap must be list
bufpage aligned buffer into which string is placed
maskppointer to bitmap to convert
nmaskbitssize of bitmap, in bits
Output format is a comma-separated list of decimal numbers and ranges if list is specified or hex digits grouped into comma-separated sets of 8 digits/set. Returns the number of characters written to buf.
It is assumed that buf is a pointer into a PAGE_SIZE area and that
sufficient storage remains at buf to accommodate the
bitmap_print_to_pagebuf output.