---
name: "memset"
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/memset/9"
---

# memset(9)

Fill a region of memory with the given value

## NAME

memset - Fill a region of memory with the given value

## SYNOPSIS

**void \* memset(void \*** *s***, int** *c***, size\_t** *count***);**

## ARGUMENTS

*s*

Pointer to the start of the area.

*c*

The byte to fill the area with

*count*

The size of the area.

## DESCRIPTION

Do not use **memset** to access IO space, use **memset\_io** instead.

## COPYRIGHT
