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 Sat Jul 3 05:28:09 JST 2004
26 .\" by Yuichi SATO <ysato444@yahoo.co.jp>
28 .TH AIO_ERROR 3 2003-11-14 "" "Linux Programmer's Manual"
31 .\"O aio_error \- get error status of asynchronous I/O operation
32 aio_error \- ÈóƱ´ü I/O Áàºî¤Î¥¨¥é¡¼¾õÂÖ¤ò¼èÆÀ¤¹¤ë
37 .BI "int aio_error(const struct aiocb *" aiocbp );
39 .\"O Link with \fI\-lrt\fP.
40 \fI\-lrt\fP ¤Ç¥ê¥ó¥¯¤¹¤ë¡£
45 .\"O function returns the error status for the asynchronous I/O request
46 .\"O with control block pointed to by
51 ¤Ç»Ø¤µ¤ì¤¿À©¸æ¥Ö¥í¥Ã¥¯¤Ç¤ÎÈóƱ´ü I/O ¥ê¥¯¥¨¥¹¥È¤Î¥¨¥é¡¼¾õÂÖ¤òÊÖ¤¹¡£
52 .\"O .SH "RETURN VALUE"
54 .\"O This function returns
56 .\"O if the request has not been
60 .\"O if the request was canceled.
61 .\"O It returns 0 if the request completed successfully.
62 ¥ê¥¯¥¨¥¹¥È¤¬¤Þ¤À´°Î»¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¤³¤Î´Ø¿ô¤Ï
64 ¤òÊÖ¤¹¡£¥ê¥¯¥¨¥¹¥È¤¬¥¥ã¥ó¥»¥ë¤µ¤ì¤¿¾ì¹ç¡¢¤³¤Î´Ø¿ô¤Ï
66 ¤òÊÖ¤¹¡£¥ê¥¯¥¨¥¹¥È¤¬À®¸ù¤·¤Æ´°Î»¤·¤¿¾ì¹ç¡¢¤³¤Î´Ø¿ô¤Ï 0 ¤òÊÖ¤¹¡£
67 .\"O Otherwise an error value is returned, the same value that would have
68 .\"O been stored in the
70 .\"O variable in case of a synchronous
77 ¤½¤ì°Ê³°¤Î¾ì¹ç¤Ï¥¨¥é¡¼Ãͤ¬ÊÖ¤µ¤ì¤ë¡£
85 ¤Ë³ÊǼ¤µ¤ì¤ë¤Î¤ÈƱ¤¸ÃͤǤ¢¤ë¡£
86 .\"O On error, the error value is returned.
87 ¥¨¥é¡¼¤Î¾ì¹ç¤Ï¥¨¥é¡¼Ãͤ¬ÊÖ¤µ¤ì¤ë¡£
93 .\"O does not point at a control block for an asynchronous I/O request
94 .\"O of which the return status (see
95 .\"O .BR aio_return (3))
96 .\"O has not been retrieved yet.
98 ¤¬¡¢¤Þ¤ÀÊÖ¤êÃÍ (return status)
100 ¤ò»²¾È) ¤¬¼èÆÀ¤µ¤ì¤Æ¤¤¤Ê¤¤ÈóƱ´ü I/O ¥ê¥¯¥¨¥¹¥È¤ÎÀ©¸æ¥Ö¥í¥Ã¥¯¤ò»Ø¤·¤Æ¤¤¤Ê¤¤¡£
101 .\"O .SH "CONFORMING TO"