null.4: Minor clarifications

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2009-02-23 15:39:15 +13:00
parent 28d03ce9e9
commit 3508b1f192
1 changed files with 6 additions and 4 deletions

View File

@ -22,14 +22,16 @@
.\" USA.
.\"
.\" Modified Sat Jul 24 17:00:12 1993 by Rik Faith (faith@cs.unc.edu)
.TH NULL 4 1992-11-21 "Linux" "Linux Programmer's Manual"
.TH NULL 4 2009-02-23 "Linux" "Linux Programmer's Manual"
.SH NAME
null, zero \- data sink
.SH DESCRIPTION
Data written on a \fBnull\fP or \fBzero\fP special file is discarded.
Data written to a \fBnull\fP or \fBzero\fP special file is discarded.
.PP
Reads from the \fBnull\fP special file always return end of file, whereas
reads from \fBzero\fP always return \e0 characters.
Reads from the \fBnull\fP special file always return end of file (i.e.,
.BR read (2)
returns 0), whereas
reads from \fBzero\fP always return bytes containing zero (\e0 characters).
.LP
\fBnull\fP and \fBzero\fP are typically created by:
.RS