Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
null(7D)			    Devices			      null(7D)

NAME
       null - the null file, also called the null device

SYNOPSIS
       /dev/null

DESCRIPTION
       Data written on the null	special	file, /dev/null, is discarded.

       Reads from a null special file always return 0 bytes.

       Mapping	a null special file creates an address reservation of a	length
       equal to	the length of the mapping, and rounded up to the nearest  page
       size  as	 returned  by  sysconf(3C).   No resources are consumed	by the
       reservation. Mappings can be placed in the resulting address range  via
       subsequent calls	to mmap	with the -MAP_FIXED option set.

FILES
       /dev/null

SEE ALSO
       mmap(2),	sysconf(3C)

SunOS 5.10			 4 April 2001			      null(7D)

NAME | SYNOPSIS | DESCRIPTION | FILES | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=null&sektion=7d&manpath=SunOS+5.10>

home | help