OSDN Git Service

(split) DP: release pages (catch up to 3.50).
[linuxjm/LDP_man-pages.git] / release / man4 / null.4
1 .\" Copyright (c) 1993 Michael Haardt (michael@moria.de),
2 .\"     Fri Apr  2 11:32:09 MET DST 1993
3 .\"
4 .\" %%%LICENSE_START(GPLv2+_DOC_FULL)
5 .\" This is free documentation; you can redistribute it and/or
6 .\" modify it under the terms of the GNU General Public License as
7 .\" published by the Free Software Foundation; either version 2 of
8 .\" the License, or (at your option) any later version.
9 .\"
10 .\" The GNU General Public License's references to "object code"
11 .\" and "executables" are to be interpreted as the output of any
12 .\" document formatting or typesetting system, including
13 .\" intermediate and printed output.
14 .\"
15 .\" This manual is distributed in the hope that it will be useful,
16 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
17 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 .\" GNU General Public License for more details.
19 .\"
20 .\" You should have received a copy of the GNU General Public
21 .\" License along with this manual; if not, see
22 .\" <http://www.gnu.org/licenses/>.
23 .\" %%%LICENSE_END
24 .\"
25 .\" Modified Sat Jul 24 17:00:12 1993 by Rik Faith (faith@cs.unc.edu)
26 .\"*******************************************************************
27 .\"
28 .\" This file was generated with po4a. Translate the source file.
29 .\"
30 .\"*******************************************************************
31 .TH NULL 4 1992\-11\-21 Linux "Linux Programmer's Manual"
32 .SH 名前
33 null, zero \- データの掃きだめ
34 .SH 説明
35 \fBnull\fP または \fBzero\fP スペシャルファイル(special file)に 書かれたデータは捨てられる。
36 .PP
37 \fBnull\fP スペシャルファイルを読むと常に end of file が返され (つまり、 \fBread\fP(2)  は 0 を返す)、対照的 に
38 \fBzero\fP を読むと常にバイト数 0 (\e0 文字) が返される。
39 .LP
40 \fBnull\fP と \fBzero\fP は一般的に次のようにして作られる:
41 .RS
42 .sp
43 mknod \-m 666 /dev/null c 1 3
44 .br
45 mknod \-m 666 /dev/zero c 1 5
46 .br
47 chown root:root /dev/null /dev/zero
48 .RE
49 .SH ファイル
50 \fI/dev/null\fP
51 .br
52 \fI/dev/zero\fP
53 .SH 注意
54 これらのデバイスが全てのユーザに対して読み書き可能でない場合、 多くのプログラムの動作がおかしくなるだろう。
55 .SH 関連項目
56 \fBchown\fP(1), \fBmknod\fP(1), \fBfull\fP(4)
57 .SH この文書について
58 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
59 である。プロジェクトの説明とバグ報告に関する情報は
60 http://www.kernel.org/doc/man\-pages/ に書かれている。