1BITMAP_SCNPRINTF(9)     Basic Kernel Library Functions     BITMAP_SCNPRINTF(9)
2
3
4

NAME

6       bitmap_scnprintf - convert bitmap to an ASCII hex string.
7

SYNOPSIS

9       int bitmap_scnprintf(char * buf, unsigned int buflen,
10                            const unsigned long * maskp, int nmaskbits);
11

ARGUMENTS

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

DESCRIPTION

26       Exactly nmaskbits bits are displayed. Hex digits are grouped into
27       comma-separated sets of eight digits per set. Returns the number of
28       characters which were written to *buf, excluding the trailing \0.
29
31Kernel Hackers Manual 3.10         June 2019               BITMAP_SCNPRINTF(9)
Impressum