tail head cat sleep
QR code linking to this page

manページ  — AIO_RETURN

名称

aio_return – 非同期入出力操作の戻り状態を取り出す (REALTIME)

内容

ライブラリ

Standard C Library (libc, -lc)

書式

#include <aio.h>

int
aio_return(struct aiocb *iocb);

解説

aio_return() システムコールは iocb が指す構造体に対応する非同期入出力要求の最終状態を返します。

aio_error(2)EINPROGRESS 以外の何かを返した時の非同期入出力操作の最終状態を得るためには aio_return() システムコールを 1 回だけしか呼び出してはいけません。

戻り値

非同期入出力要求が完了すると read(2), write(2) または fsync(2) で説明したような状態が返されます。 処理を失敗した場合に aio_return() -1 を返し、エラー状態を指すように errno を設定します。

エラー

aio_return() システムコールは次の場合に失敗します:
[EINVAL]
  iocb 引数が未解決の非同期入出力要求を参照しません。

関連項目

aio_cancel(2), aio_error(2), aio_suspend(2), aio_waitcomplete(2), aio_write(2), fsync(2), read(2), write(2), aio(4) [英語]

規格

aio_return() システムコールは IEEE Std 1003.1 ("POSIX.1") に適合しています。

歴史

aio_return() システムコールは FreeBSD 3.0 ではじめて登場しました。

作者

このマニュアルページは Wes Peters <wes@softweyr.com> が作成しました。

AIO_RETURN (2) June 2, 1999

tail head cat sleep
QR code linking to this page


このマニュアルページサービスについてのご意見は Ben Bullock にお知らせください。 Privacy policy.

A child of 5 could understand this! Fetch me a child of 5.