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

NAME

6       clear_user - Zero a block of memory in user space.
7

SYNOPSIS

9       unsigned long clear_user(void __user * to, unsigned long n);
10

ARGUMENTS

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

DESCRIPTION

19       Zero a block of memory in user space.
20
21       Returns number of bytes that could not be cleared. On success, this
22       will be zero.
23
25Kernel Hackers Manual 3.10         June 2019                     CLEAR_USER(9)
Impressum