other versions
KSTRDUP(9) | Memory Management in Linux | KSTRDUP(9) |
NAME¶
kstrdup - allocate space for and copy an existing stringSYNOPSIS¶
char * kstrdup(const char * s, gfp_t gfp);
ARGUMENTS¶
const char * sthe string to duplicate
gfp_t gfp
the GFP mask used in the kmalloc call when
allocating memory
COPYRIGHT¶
July 2017 | Kernel Hackers Manual 4.11 |