1 .\" Copyright (c) 2003 Andries Brouwer (aeb@cwi.nl)
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
8 .\" The GNU General Public License's references to "object code"
9 .\" and "executables" are to be interpreted as the output of any
10 .\" document formatting or typesetting system, including
11 .\" intermediate and printed output.
13 .\" This manual is distributed in the hope that it will be useful,
14 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
15 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 .\" GNU General Public License for more details.
18 .\" You should have received a copy of the GNU General Public
19 .\" License along with this manual; if not, write to the Free
20 .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
23 .\" Japanese Version Copyright (c) 2004 Yuichi SATO
24 .\" all rights reserved.
25 .\" Translated Thu Jul 01 02:44:30 JST 2004
26 .\" by Yuichi SATO <ysato444@yahoo.co.jp>
28 .TH AIO_CANCEL 3 2003-11-14 "" "Linux Programmer's Manual"
30 aio_cancel \- 完了していない非同期 I/O リクエストをキャンセルする
34 .BI "int aio_cancel(int " fd ", struct aiocb *" aiocbp );
41 についての完了していない非同期 I/O リクエストをキャンセルしようとする。
43 が NULL の場合、そのような全てのリクエストがキャンセルされる。
47 で指された制御ブロックで記述されたリクエストのみがキャンセルされる。
49 キャンセルされたリクエストに対して、通常の非同期通知が起こる。
54 キャンセルできなかったリクエストの制御ブロックは変更されない。
59 が非同期操作が開始されたファイルディスクリプタと異なる場合、
62 どの操作をキャンセルできるかは、実装定義である。
63 .\" FreeBSD: raw ディスクデバイスへのリクエストはキャンセルできない。
65 全てのリクエストのキャンセルが成功した場合、この関数は
68 指定されたリクエストのうち少なくとも 1 つが進行中であるために
74 を使って個々のリクエストの状態をチェックすることができる。
75 呼び出される前に全てのリクエストが完了していた場合、
79 何らかのエラーが起こった場合は、\-1 が返されて、