1 .\" Copyright (c) 1993 Michael Haardt (michael@moria.de),
2 .\" Fri Apr 2 11:32:09 MET DST 1993
4 .\" SPDX-License-Identifier: GPL-2.0-or-later
6 .\" Modified Sat Jul 24 17:00:12 1993 by Rik Faith (faith@cs.unc.edu)
7 .TH NULL 4 2015-07-23 "Linux" "Linux Programmer's Manual"
9 null, zero \- data sink
15 special files is discarded.
19 always return end of file (i.e.,
21 returns 0), whereas reads from
23 always return bytes containing zero (\(aq\e0\(aq characters).
25 These devices are typically created by:
29 mknod \-m 666 /dev/null c 1 3
30 mknod \-m 666 /dev/zero c 1 5
31 chown root:root /dev/null /dev/zero
39 If these devices are not writable and readable for all users, many
40 programs will act strangely.
43 .\" commit 2b83868723d090078ac0e2120e06a1cc94dbaef0
46 are interruptible by signals.
47 (This change was made to help with bad latencies for large reads from