OSDN Git Service

(split) LDP: Update release pages based on LDP 3.65 release
[linuxjm/LDP_man-pages.git] / draft / man3 / termios.3
index 4a7b539..7b4f2a0 100644 (file)
@@ -491,10 +491,12 @@ MIN > 0, TIME == 0 (blocking read)
 \fBread\fP(2)  は、利用可能なデータが MIN バイトに達するまで停止する。返り値は最大でも要求バイト数である。
 .TP 
 MIN == 0, TIME > 0 (read with timeout)
-TIME はタイマの上限を規定し、単位は 1/10 秒である。 タイマは \fBread\fP(2)  が呼ばれた時点で開始される。 \fBread\fP(2)
-が返るのは、少なくとも 1バイトのデータが利用可能となった時点、 またはタイマが時間切れとなった時点である。
-入力が全くなくタイマが時間切れとなった場合、 \fBread\fP(2)  は 0 を返す。 \fBread\fP()
-の呼び出し時にすでに利用可能なデータがある場合、 その呼び出しは呼び出し直後にそのデータが到着したかのように振る舞う。
+TIME specifies the limit for a timer in tenths of a second.  The timer is
+started when \fBread\fP(2)  is called.  \fBread\fP(2)  returns either when at
+least one byte of data is available, or when the timer expires.  If the
+timer expires without any input becoming available, \fBread\fP(2)  returns 0.
+If data is already available at the time of the call to \fBread\fP(2), the call
+behaves as though the data was received immediately after the call.
 .TP 
 MIN > 0, TIME > 0 (read with interbyte timeout)
 TIME はタイマの上限を規定し、単位は 1/10 秒である。 入力の最初のバイトが利用可能になった後は、 新たに
@@ -506,21 +508,22 @@ MIN バイトのデータを受信した。
 バイト間タイマーが時間切れになった。
 .IP *
 .\" e.g., Solaris
-\fBread\fP(2) で要求されたバイト数のデータを受信した (POSIX ではこの終了条件は規定されておらず、 他のいくつかの実装では
-\fBread\fP() はこの条件では返らない)。
+The number of bytes requested by \fBread\fP(2)  has been received.  (POSIX does
+not specify this termination condition, and on some other implementations
+\fBread\fP(2)  does not return in this case.)
 .RE
 .IP
 Because the timer is started only after the initial byte becomes available,
 at least one byte will be read.  If data is already available at the time of
-the call to \fBread\fP(), the call behaves as though the data was received
+the call to \fBread\fP(2), the call behaves as though the data was received
 immediately after the call.
 .PP
 .\" POSIX.1-2008 XBD 11.1.7
 POSIX does not specify whether the setting of the \fBO_NONBLOCK\fP file status
 flag takes precedence over the MIN and TIME settings.  If \fBO_NONBLOCK\fP is
-set, a \fBread\fP()  in noncanonical mode may return immediately, regardless of
-the setting of MIN or TIME.  Furthermore, if no data is available, POSIX
-permits a \fBread\fP()  in noncanonical mode to return either 0, or \-1 with
+set, a \fBread\fP(2)  in noncanonical mode may return immediately, regardless
+of the setting of MIN or TIME.  Furthermore, if no data is available, POSIX
+permits a \fBread\fP(2)  in noncanonical mode to return either 0, or \-1 with
 \fIerrno\fP set to \fBEAGAIN\fP.
 .SS "Raw mode"
 .LP
@@ -657,6 +660,6 @@ DU, Tru64 は \fIduration\fP ミリ秒のブレークを送信する。 FreeBSD,
 .SH 関連項目
 \fBstty\fP(1), \fBconsole_ioctl\fP(4), \fBtty_ioctl\fP(4), \fBsetserial\fP(8)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.64 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.65 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。