table of contents
other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
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¶
May 2018 | Kernel Hackers Manual 4.9. |