1null(7D) Devices null(7D)
2
3
4
6 null - the null file, also called the null device
7
9 /dev/null
10
11
13 Data written on the null special file, /dev/null, is discarded.
14
15
16 Reads from a null special file always return 0 bytes.
17
18
19 Mapping a null special file creates an address reservation of a length
20 equal to the length of the mapping, and rounded up to the nearest page
21 size as returned by sysconf(3C). No resources are consumed by the
22 reservation. Mappings can be placed in the resulting address range via
23 subsequent calls to mmap with the -MAP_FIXED option set.
24
26 /dev/null
27
28
30 mmap(2), sysconf(3C)
31
32
33
34SunOS 5.11 4 April 2001 null(7D)