OSDN Git Service

(split) LDP: Update draft and release for LDP 3.65
[linuxjm/LDP_man-pages.git] / draft / man3 / termios.3
index 7b4f2a0..612b7aa 100644 (file)
@@ -491,12 +491,10 @@ MIN > 0, TIME == 0 (blocking read)
 \fBread\fP(2)  は、利用可能なデータが MIN バイトに達するまで停止する。返り値は最大でも要求バイト数である。
 .TP 
 MIN == 0, TIME > 0 (read with timeout)
-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.
+TIME はタイマの上限を規定し、単位は 1/10 秒である。 タイマは \fBread\fP(2)  が呼ばれた時点で開始される。 \fBread\fP(2)
+が返るのは、少なくとも 1バイトのデータが利用可能となった時点、 またはタイマが時間切れとなった時点である。
+入力が全くなくタイマが時間切れとなった場合、 \fBread\fP(2)  は 0 を返す。 \fBread\fP(2)
+の呼び出し時にすでに利用可能なデータがある場合、 その呼び出しは呼び出し直後にそのデータが到着したかのように振る舞う。
 .TP 
 MIN > 0, TIME > 0 (read with interbyte timeout)
 TIME はタイマの上限を規定し、単位は 1/10 秒である。 入力の最初のバイトが利用可能になった後は、 新たに
@@ -508,9 +506,8 @@ MIN バイトのデータを受信した。
 バイト間タイマーが時間切れになった。
 .IP *
 .\" e.g., Solaris
-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.)
+\fBread\fP(2) で要求されたバイト数のデータを受信した (POSIX ではこの終了条件は規定されておらず、 他のいくつかの実装では
+\fBread\fP(2) はこの条件では返らない)。
 .RE
 .IP
 Because the timer is started only after the initial byte becomes available,