1CLEAR_USER(9) Memory Management in Linux CLEAR_USER(9)
23
4
NAME
6clear_user - Zero a block of memory in user space.
7
SYNOPSIS
9unsigned long clear_user(void __user * to, unsigned long n);
10
ARGUMENTS
12to
13Destination address, in user space.
1415
n
16Number of bytes to zero.
17
DESCRIPTION
19Zero a block of memory in user space.
2021
Returns number of bytes that could not be cleared. On success, this
22will be zero.
23
COPYRIGHT
25Kernel Hackers Manual 2.6. June 2019 CLEAR_USER(9)