1__CLEAR_USER(9) Memory Management in Linux __CLEAR_USER(9)
2
3
4
6 __clear_user - Zero a block of memory in user space, with less
7 checking.
8
10 unsigned long __clear_user(void __user * to, unsigned long n);
11
13 to
14 Destination address, in user space.
15
16 n
17 Number of bytes to zero.
18
20 Zero a block of memory in user space. Caller must check the specified
21 block with access_ok before calling this function.
22
23 Returns number of bytes that could not be cleared. On success, this
24 will be zero.
25
27Kernel Hackers Manual 2.6. November 2011 __CLEAR_USER(9)