.\" Copyright (c) 1993 Michael Haardt (michael@moria.de),
.\" Fri Apr 2 11:32:09 MET DST 1993
.\"
.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
.\"
.\" The GNU General Public License's references to "object code"
.\" and "executables" are to be interpreted as the output of any
.\" document formatting or typesetting system, including
.\" intermediate and printed output.
.\"
.\" This manual is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
.\" License along with this manual; if not, see
.\" .
.\" %%%LICENSE_END
.\"
.\" Modified Sat Jul 24 17:00:12 1993 by Rik Faith (faith@cs.unc.edu)
.\"
.\" Traduzione in italiano di Giovanni Bortolozzo
.\" Settembre 1996
.\" Aggiornamento a man-pages-2.11 di Giulio Daprelà
.\" novembre 2005
.\" Aggiornamento a man-pages-3.53 di Marco Curreli
.\" agosto 2013 (solo formattazione)
.\"
.TH NULL 4 2009-02-23 "Linux" "Linux Programmer's Manual"
.SH NOME
null, zero \- svuotamento dei dati
.SH DESCRIZIONE
I dati scritti su i file speciali
.BR null
e
.B zero
sono scartati.
.PP
Una lettura dal file speciale
.B null
ritorna sempre un "end of file" (cioé
.BR read (2)
ritorna 0), mentre una lettura da
.B zero
ritorna sempre byte contenenti zero (caratteri \e0).
.LP
.B null
e
.B zero
sono creati con:
.RS
.sp
mknod \-m 666 /dev/null c 1 3
.br
mknod \-m 666 /dev/zero c 1 5
.br
chown root:root /dev/null /dev/zero
.RE
.SH FILE
.I /dev/null
.br
.I /dev/zero
.SH NOTE
Se questi dispositivi speciali non sono scrivibili e leggibili da tutti gli
utenti, molti programmi si comporteranno stranamente.
.SH VEDERE ANCHE
.BR chown (1),
.BR mknod (1),
.BR full (4)
.SH COLOPHON
Questa pagina fa parte del rilascio 3.73 del progetto Linux
.IR man-pages .
Una descrizione del progetto,
le istruzioni per la segnalazione degli errori,
e l'ultima versione di questa pagina
si trova su
\%http://www.kernel.org/doc/man\-pages/.
La versione italiana fa parte del pacchetto
.I man-pages-it
v. 3.73, a cura di:
ILDP "Italian Linux Documentation Project"
\%http://www.pluto.it/ildp
.br
Per la traduzione in italiano si pu\(`o fare riferimento a
http://www.pluto.it/ildp/collaborare/
.br
Segnalare eventuali errori di traduzione a
.IR ildp@pluto.it