1DEVM_KVASPRINTF(9)               Driver Basics              DEVM_KVASPRINTF(9)
2
3
4

NAME

6       devm_kvasprintf - Allocate resource managed space for the formatted
7       string.
8

SYNOPSIS

10       char * devm_kvasprintf(struct device * dev, gfp_t gfp,
11                              const char * fmt, va_list ap);
12

ARGUMENTS

14       dev
15           Device to allocate memory for
16
17       gfp
18           the GFP mask used in the devm_kmalloc call when allocating memory
19
20       fmt
21           the formatted string to duplicate
22
23       ap
24           the list of tokens to be placed in the formatted string
25

RETURNS

27       Pointer to allocated string on success, NULL on failure.
28
30Kernel Hackers Manual 3.10         June 2019                DEVM_KVASPRINTF(9)
Impressum