opensolaris man page for zero

Query: zero

OS: opensolaris

Section: 7d

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

zero(7D)							      Devices								  zero(7D)

NAME
zero - source of zeroes
DESCRIPTION
A zero special file is a source of zeroed unnamed memory. Reads from a zero special file always return a buffer full of zeroes. The file is of infinite length. Writes to a zero special file are always successful, but the data written is ignored. Mapping a zero special file creates a zero-initialized unnamed memory object of a length equal to the length of the mapping and rounded up to the nearest page size as returned by sysconf. Multiple processes can share such a zero special file object provided a common ancestor mapped the object MAP_SHARED.
FILES
/dev/zero
SEE ALSO
fork(2), mmap(2), sysconf(3C) SunOS 5.11 3 Jul 1990 zero(7D)
Related Man Pages
munmap(2) - osf1
mmap(2) - netbsd
getpagesize(3c) - x11r4
getpagesize(3c) - posix
getpagesize(3c) - xfree86
Similar Topics in the Unix Linux Community
How to delete trailing zeros from a variable
Help needed in padding leading zeros
Comparison treating strings as zero integers
Help deleting leading zeros in a file
Fill in missing rows with zero to have uniform table