zero(7) hpux man page | unix.com

Man Page: zero

Operating Environment: hpux

Section: 7

zero(7) 						 Miscellaneous Information Manual						   zero(7)

NAME
zero - /dev/zero special file
DESCRIPTION
is a zero special file. Reads from a zero special file always return characters whose value is 0 ( characters). Data written on a zero special file is discarded or ignored. Seeks on a zero special file always succeed. When is memory mapped by calling the associated memory object behaves as a object. It is initialized to all zeros. Writes to the object modify the contents of the object which are observed by subsequent reads to this object. Both and are allowed. When it is mapped shared, the memory object can be shared only with the descendants of the current process. Modifications made to the object are visible only to the process and its descendants. When it is mapped private, any modifications done after are visible only to the process.
EXAMPLES
In the following example, the buffer is filled with characters. In the following example, the process now has a range of characters at memory location
FILES
SEE ALSO
mmap(2), null(7). zero(7)
Related Man Pages
posix_mem_offset(3) - linux
pfiles(1) - hpux
mmap(2) - osf1
pthread_rwlockattr_setpshared(3) - osf1
shm_unlink(3) - osf1
Similar Topics in the Unix Linux Community
Addition with the prefixing zeros included
Help needed in padding leading zeros
Remove leading zeroes in 2nd field using sed
Comparison treating strings as zero integers
Adding Leading Zeros for date in a file