1__CLEAR_USER(9)           Memory Management in Linux           __CLEAR_USER(9)
2
3
4

NAME

6       __clear_user - Zero a block of memory in user space, with less
7       checking.
8

SYNOPSIS

10       unsigned long __clear_user(void __user * to, unsigned long n);
11

ARGUMENTS

13       to
14           Destination address, in user space.
15
16       n
17           Number of bytes to zero.
18

DESCRIPTION

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 3.10         June 2019                   __CLEAR_USER(9)
Impressum