| 総合手引 | セクション 2 | English | オプション |
#include <aio.h>
timeout が NULL ポインタでない場合、それは非同期入出力要求が完了するまで 待機する最大時間を指定します。 timeout が NULL ポインタの場合は、 aio_waitcomplete() は無期限に待機します。 ポーリングする場合は、 引数 timeout は NULL ではなく、0 の値を持つ timeval 構造体を指すようにするべきです。
aio_waitcomplete() システムコールは aio_return() の役割もします。 従って、制御ブロックは iocbp で返されているので、 aio_return() を呼び出すべきではありません。
| [EINVAL] | |
| 指定された制限時間が無効です。 | |
| [EAGAIN] | |
| プロセスはまだ aio_read() や aio_write() を呼び出していません。 | |
| [EINTR] | |
| タイムアウトする前で、かつ 非同期入出力要求が完了する前にシグナルが届きました。 | |
| [EWOULDBLOCK]
[EINPROGRESS] | |
| 非同期入出力要求が完了する前に、指定された制限時間に達しました。 | |
| AIO_WAITCOMPLETE (2) | January 19, 2000 |
| 総合手引 | セクション 2 | English | オプション |
このマニュアルページサービスについてのご意見は Ben Bullock にお知らせください。 Privacy policy.
| “ | Like a classics radio station whose play list spans decades, Unix simultaneously exhibits its mixed and dated heritage. There's Clash-era graphics interfaces; Beatles-era two-letter command names; and systems programs (for example, ps) whose terse and obscure output was designed for slow teletypes; Bing Crosby-era command editing (# and @ are still the default line editing commands), and Scott Joplin-era core dumps. | ” |
| — The Unix Haters' handbook | ||