OSDN Git Service

(split) LDP: Update release from the latest PO files
[linuxjm/LDP_man-pages.git] / release / man2 / io_getevents.2
index 4aa2504..f6e4b21 100644 (file)
@@ -24,11 +24,12 @@ io_getevents \- 完了キューから非同期 I/O イベントを読み出す
 \fI注\fP: このシステムコールには glibc のラッパー関数は存在しない。「注意」の節を参照。
 .SH 説明
 .PP
-The \fBio_getevents\fP()  system call attempts to read at least \fImin_nr\fP
-events and up to \fInr\fP events from the completion queue of the AIO context
-specified by \fIctx_id\fP.  The \fItimeout\fP argument specifies the amount of
-time to wait for events, where a NULL timeout waits until at least \fImin_nr\fP
-events have been seen.  Note that \fItimeout\fP is relative.
+\fBio_getevents\fP() システムコールは、少なくとも \fImin_nr\fP の、最大
+\fInr\fP 個のイベントを、 \fIctx_id\fP 引き数で指定された AIO (非同期 I/O)
+コンテキストの 完了キューから読み出そうとする。 \fItimeout\fP はイベント
+読み出しの待ち時間の合計を指定する。 タイムアウトに NULL を指定した場合、
+少なくとも \fImin_nr\fP 個のイベントが 読み出されるまで待つことを意味する。
+注意点を以下にあげる: \fItimeout\fP は相対的な指定である。
 .SH 返り値
 成功すると、 \fBio_getevents\fP()  は読み出したイベント数を返す。 イベントが一つも読み出されなかった場合は 0 が返され、
 \fItimeout\fP 時間が経過した場合は \fImin_nr\fP 未満の値が返される。 失敗時の返り値については、「注意」の節を参照すること。