1BITMAP_SCNPRINTF(9) Basic Kernel Library Functions BITMAP_SCNPRINTF(9)
2
3
4
6 bitmap_scnprintf - convert bitmap to an ASCII hex string.
7
9 int bitmap_scnprintf(char * buf, unsigned int buflen,
10 const unsigned long * maskp, int nmaskbits);
11
13 buf
14 byte buffer into which string is placed
15
16 buflen
17 reserved size of buf, in bytes
18
19 maskp
20 pointer to bitmap to convert
21
22 nmaskbits
23 size of bitmap, in bits
24
26 Exactly nmaskbits bits are displayed. Hex digits are grouped into
27 comma-separated sets of eight digits per set.
28
30Kernel Hackers Manual 2.6. June 2019 BITMAP_SCNPRINTF(9)