Name
snd_kmalloc_strdup —
copy the string
Synopsis
char * snd_kmalloc_strdup ( | const char * | string, |
| int | flags) ; |
Arguments
string
the original string
flags
allocation conditions, GFP_XXX
Description
Allocates a memory chunk via kmalloc
and copies the string to it.
Returns the pointer, or NULL if no enoguh memory.