BITMAP_SCNPRINTF(9) Basic Kernel Library Functions BITMAP_SCNPRINTF(9)NAMEbitmap_scnprintf - convert bitmap to an ASCII hex string.
int bitmap_scnprintf(char * buf, unsigned int buflen,
const unsigned long * maskp, int nmaskbits);
byte buffer into which string is placed
reserved size of buf, in bytes
pointer to bitmap to convert
size of bitmap, in bits
Exactly nmaskbits bits are displayed. Hex digits are grouped into
comma-separated sets of eight digits per set. Returns the number of
characters which were written to *buf, excluding the trailing \0.
COPYRIGHTKernel Hackers Manual 3.8. June 2014 BITMAP_SCNPRINTF(9)