1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:47:46 +00:00

Base: Add man pages for null/zero/full character devices

This commit is contained in:
Brendan Coles 2021-03-03 23:18:39 +00:00 committed by Andreas Kling
parent 45a11ead9a
commit 89265be167
3 changed files with 80 additions and 0 deletions

View file

@ -0,0 +1,26 @@
## Name
zero - data sink
## Description
`/dev/zero` is a character device file which discards input.
Reading from `/dev/zero` returns '\0' bytes and exits with status 0.
## Files
* /dev/zero
## Examples
```sh
$ head -c 8 /dev/zero | hexdump
00 00 00 00 00 00 00 00
```
## See also
* [`null`(4)](../man4/null.md)
* [`full`(4)](../man4/full.md)