OSDN Git Service

(split) LDP: Update releases based on LDP 3.52 release
[linuxjm/LDP_man-pages.git] / release / man2 / read.2
index 9664f6c..c6c28b4 100644 (file)
@@ -50,14 +50,12 @@ read \- ファイルディスクリプタから読み込む
 \fBread\fP()  はファイルディスクリプタ (file descriptor)  \fIfd\fP から最大 \fIcount\fP バイトを \fIbuf\fP
 で始まるバッファーへ読み込もうとする。
 
-On files that support seeking, the read operation commences at the current
-file offset, and the file offset is incremented by the number of bytes
-read.  If the current file offset is at or past the end of file, no bytes
-are read, and \fBread\fP()  returns zero.
+seek に対応しているファイルでは、read
+は現在のファイルオフセットから行われ、ファイルオフセットは読み込んだバイト数分だけ進められる。現在のファイルオフセットがファイル末尾かそれより先の場合は、読み出しは行われず、
+\fBread\fP() は 0 を返す。
 
-If \fIcount\fP is zero, \fBread\fP()  \fImay\fP detect the errors described below.
-In the absence of any errors, or if \fBread\fP()  does not check for errors, a
-\fBread\fP()  with a \fIcount\fP of 0 returns zero and has no other effects.
+\fIcount\fP が 0 の場合、 \fBread\fP() は以下で説明するエラーを検出する\fI場合がある\fP。 どのエラーもなかった場合、もしくは
+\fBread\fP() がエラーのチェックを行わない場合、 \fIcount\fP が 0 で呼び出された \fBread\fP() は 0 を返し、何も行わない。
 
 \fIcount\fP が \fBSSIZE_MAX\fP より大きければ、結果は規定できない。
 .SH 返り値
@@ -118,6 +116,6 @@ NFS において。少量のデータを読み込む場合、最初の時のみ
 \fBreaddir\fP(2), \fBreadlink\fP(2), \fBreadv\fP(2), \fBselect\fP(2), \fBwrite\fP(2),
 \fBfread\fP(3)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.51 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。