NAME
null, zero - data sink
DESCRIPTION
Data written to the /dev/null and /dev/zero special files is discarded. Reads from /dev/null always return end of file (i.e., read(2) returns 0), whereas reads from /dev/zero always return bytes containing zero ('\0' characters). These devices are typically created by: mknod -m 666 /dev/null c 1 3 mknod -m 666 /dev/zero c 1 5 chown root:root /dev/null /dev/zero
FILES
/dev/null /dev/zero
NOTES
If these devices are not writable and readable for all users, many programs will act strangely. Since Linux 2.6.31, reads from /dev/zero are interruptible by signals. (This change was made to help with bad latencies for large reads from /dev/zero.)
SEE ALSO
chown(1), mknod(1), full(4)
COLOPHON
This page is part of release 4.09 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.
More Linux Commands
manpages/hostname.7.html
hostname(7) - hostname resolution description (Man Page)....
Hostnames are domains, where a domain is a hierarchical, dot-separated list of subdomains; for example, the machine monet, in the Berkeley subdomain of the EDU
manpages/acosh.3.html
acosh(3) - inverse hyperbolic cosine function (Man Page)....
The acosh() function calculates the inverse hyperbolic cosine of x; that is the value whose hyperbolic cosine is x. RETURN VALUE On success, these functions ret
manpages/XtVaGetApplicationResources.3.html
XtVaGetApplicationResources(3) - obtain application resource
The XtGetApplicationResources function first uses the passed widget, which is usually an application shell, to construct a resource name and class list, Then, i
manpages/XRotateBuffers.3.html
XRotateBuffers(3) - manipulate cut and paste buffers........
The data can have embedded null characters and need not be null-terminated. The cut buffers contents can be retrieved later by any client calling XFetchBytes. X
manpages/pthread_attr_setschedpolicy.3.html
pthread_attr_setschedpolicy(3) - set/get scheduling policy a
The pthread_attr_setschedpolicy() function sets the scheduling policy attribute of the thread attributes object referred to by attr to the value specified in po
manpages/icmp.7.html
icmp(7) - Linux IPv4 ICMP kernel module. - Linux man page...
This kernel protocol module implements the Internet Control Message Protocol defined in RFC 792. It is used to signal error conditions and for diagnosis. The us
manpages/ldap_init_fd.3.html
ldap_init_fd(3) - Initialize the LDAP library and open a con
ldap_open() opens a connection to an LDAP server and allocates an LDAP structure which is used to identify the connection and to maintain per-connection informa
manpages/setvbuf.3.html
setvbuf(3) - stream buffering operations - Linux man page...
The three types of buffering available are unbuffered, block buffered, and line buffered. When an output stream is unbuffered, information appears on the destin
manpages/utmpx.5.html
utmpx(5) - login records (File formats - Linux man page)....
The utmp file allows one to discover information about who is currently using the system. There may be more users currently using the system, because not all pr
manpages/gluBeginSurface.3gl.html
gluBeginSurface(3gl) - delimit a NURBS surface definition...
Use gluBeginSurface to mark the beginning of a NURBS surface definition. After calling gluBeginSurface, make one or more calls to gluNurbsSurface to define the
manpages/ripemd160.1ssl.html
ripemd160(1ssl) message digests (Commands - Linux man page)
The digest functions output the message digest of a supplied file or files in hexadecimal. The digest functions also generate and verify digital signatures usin
manpages/w3m.1.html
w3m(1) - a text based Web browser and pager - Linux man page
w3m is a World Wide Web (WWW) text based client. It has English and Japanese help files and an option menu and can be configured to use either language. It will
