---
name: "clear_user"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/clear_user"
---

# clear\_user(9)

Zero a block of memory in user space.

## NAME

clear\_user - Zero a block of memory in user space.

## SYNOPSIS

**unsigned long clear\_user(void \_\_user \*** *to***, unsigned long** *n***);**

## ARGUMENTS

*to*

Destination address, in user space.

*n*

Number of bytes to zero.

## DESCRIPTION

Zero a block of memory in user space.

Returns number of bytes that could not be cleared. On success, this will be zero.

## COPYRIGHT
