> For the complete documentation index, see [llms.txt](https://man.bsdcn.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://man.bsdcn.org/man4/zero.4.md).

# zero(4)

`zero` — 零设备

## 名称

`zero`

## 描述

`zero` 设备像任何普通（且愿意的）文件一样接受和读取数据，但会丢弃写入它的任何数据，并在读取时返回无尽的空字节。

## 文件

**`/dev/zero`**

## 参见

[full(4)](/man4/full.4.md), gzero(4), [null(4)](/man4/null.4.md)

## 历史

`zero` 设备出现于 4.4BSD。
