table of contents
other versions
- stretch 4.9.168-1
MEMDUP_USER_NUL(9) | Memory Management in Linux | MEMDUP_USER_NUL(9) |
NAME¶
memdup_user_nul - duplicate memory region from user space and NUL-terminateSYNOPSIS¶
void * memdup_user_nul(const void __user * src, size_t len);
ARGUMENTS¶
srcsource address in user space
len
number of bytes to copy
DESCRIPTION¶
Returns an ERR_PTR on failure.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |