NULL(4) - Device Drivers Manual

NULL(4) - Device Drivers Manual #

NULL(4) - Device Drivers Manual

NAME #

null - the null device

DESCRIPTION #

The null device accepts and reads data as any ordinary (and willing) file, but throws it away. The length of the null device is always zero.

FILES #

/dev/null

SEE ALSO #

zero(4)

HISTORY #

null first appeared in VersionĀ 4 AT&T UNIX as an empty file, /dev/null, which returned end of file when being read from. An implementation which could also be written to first appeared in VersionĀ 5 AT&T UNIX.

OpenBSD 7.5 - August 31, 2019