OSDN Git Service

Update README
[linuxjm/LDP_man-pages.git] / release / man3 / aio_return.3
index 2537f45..d58bcff 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright (c) 2003 Andries Brouwer (aeb@cwi.nl)
 .\"
+.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
 .\" This is free documentation; you can redistribute it and/or
 .\" modify it under the terms of the GNU General Public License as
 .\" published by the Free Software Foundation; either version 2 of
 .\" GNU General Public License for more details.
 .\"
 .\" You should have received a copy of the GNU General Public
-.\" License along with this manual; if not, write to the Free
-.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
-.\" USA.
+.\" License along with this manual; if not, see
+.\" <http://www.gnu.org/licenses/>.
+.\" %%%LICENSE_END
+.\"
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
 .\"
 .\" Japanese Version Copyright (c) 2004 Yuichi SATO
 .\"         all rights reserved.
 .\" Translated Fri Jul  9 05:07:19 JST 2004
 .\"         by Yuichi SATO <ysato444@yahoo.co.jp>
+.\" Updated 2012-04-30, Akihiro MOTOKI <amotoki@gmail.com>
+.\" Updated 2012-05-29, Akihiro MOTOKI <amotoki@gmail.com>
+.\" Updated 2013-07-15, Akihiro MOTOKI <amotoki@gmail.com>
+.\" Updated 2013-07-22, Akihiro MOTOKI <amotoki@gmail.com>
 .\"
-.TH AIO_RETURN 3 2003-11-14  "" "Linux Programmer's Manual"
-.SH Ì¾Á°
-aio_return \- ÈóƱ´ü I/O Áàºî¤ÎÊÖ¤êÃÍ (return status) ¤ò¼èÆÀ¤¹¤ë
-.SH ½ñ¼°
-.B "#include <aio.h>"
+.TH AIO_RETURN 3 2013\-07\-04 "" "Linux Programmer's Manual"
+.SH 名前
+aio_return \- 非同期 I/O 操作の返り値 (return status) を取得する
+.SH 書式
+\fB#include <aio.h>\fP
 .sp
-.BI "ssize_t aio_return(struct aiocb *" aiocbp );
+\fBssize_t aio_return(struct aiocb *\fP\fIaiocbp\fP\fB);\fP
 .sp
-\fI\-lrt\fP ¤Ç¥ê¥ó¥¯¤¹¤ë¡£
-.SH ÀâÌÀ
-.BR aio_return ()
-´Ø¿ô¤Ï
-.I aiocbp
-¤Ç»Ø¤µ¤ì¤¿À©¸æ¥Ö¥í¥Ã¥¯¤Ë¤ª¤±¤ëÈóƱ´ü I/O ¥ê¥¯¥¨¥¹¥È¤ÎºÇ½ªÅª¤ÊÊÖ¤êÃͤòÊÖ¤¹¡£
+\fI\-lrt\fP でリンクする。
+.SH 説明
+\fBaio_return\fP() 関数は \fIaiocbp\fP で指された制御ブロックにおける非同期 I/O
+リクエストの最終的な返り値を返す。
+(\fIaiocb\fP 構造体の説明は \fBaio\fP(7) を参照)
 .LP
-¤³¤Î´Ø¿ô¤Ï¡¢
-.BR aio_error (3)
-¤¬
-.B EINPROGRESS
-°Ê³°¤òÊÖ¤·¤¿¸å¤Ç¡¢
-Í¿¤¨¤é¤ì¤¿¥ê¥¯¥¨¥¹¥È¤ËÂФ·¤Æ 1 ²ó¤À¤±¸Æ¤Ð¤ì¤ë¤Ù¤­¤Ç¤¢¤ë¡£
-.SH ÊÖ¤êÃÍ
-ÈóƱ´ü I/O Áàºî¤¬´°Î»¤·¤¿¾ì¹ç¡¢¤³¤Î´Ø¿ô¤ÏƱ´ü
-.IR read ,
-.IR write ,
-.I fsync
-¥ê¥¯¥¨¥¹¥È¤Î¤È¤­¤ËÊÖ¤µ¤ì¤ë¤Î¤ÈƱ¤¸ÃͤòÊÖ¤¹¡£
-¤½¤ì°Ê³°¤Î¾ì¹ç¡¢ÊÖ¤êÃͤÏ̤ÄêµÁ¤Ç¤¢¤ë¡£
-¥¨¥é¡¼¤Î¾ì¹ç¡¢¥¨¥é¡¼Ãͤ¬ÊÖ¤µ¤ì¤ë¡£
-.SH ¥¨¥é¡¼
-.TP
-.B EINVAL
-.I aiocbp
-¤¬¡¢ÊÖ¤êÃͤ¬¤Þ¤À¼èÆÀ¤µ¤ì¤Æ¤¤¤Ê¤¤ÈóƱ´ü I/O ¥ê¥¯¥¨¥¹¥È¤Î
-À©¸æ¥Ö¥í¥Ã¥¯¤ò»Ø¤·¤Æ¤¤¤Ê¤¤¡£
-.SH ½àµò
-POSIX.1-2001.
-.SH ´ØÏ¢¹àÌÜ
-.BR aio_cancel (3),
-.BR aio_error (3),
-.BR aio_fsync (3),
-.BR aio_read (3),
-.BR aio_suspend (3),
-.BR aio_write (3)
+この関数は、 \fBaio_error\fP(3)  が \fBEINPROGRESS\fP 以外を返した後で、 与えられたリクエストに対して 1
+回だけ呼ばれるべきである。
+.SH 返り値
+非同期 I/O 操作が完了した場合、この関数は、同期呼び出し \fBread\fP(2),
+\fBwrite\fP(2), \fBfsync\fP(2), \fBfdatasync\fP(2) が返すのと同じ値を返す。
+
+非同期 I/O 操作が完了していない場合、
+\fBaio_return\fP() の返り値とその影響は不定である。
+.SH エラー
+.TP 
+\fBEINVAL\fP
+\fIaiocbp\fP が、返り値がまだ取得されていない非同期 I/O リクエストの 制御ブロックを指していない。
+.TP 
+\fBENOSYS\fP
+\fBaio_return\fP() は実装されていない。
+.SH バージョン
+The \fBaio_return\fP() 関数は glibc 2.1 以降で利用できる。
+.SH 属性
+.SS "マルチスレッディング (pthreads(7) 参照)"
+The \fBaio_return\fP() 関数はスレッドセーフである。
+.SH 準拠
+POSIX.1\-2001, POSIX.1\-2008.
+.SH 例
+\fBaio\fP(7) を参照。
+.SH 関連項目
+\fBaio_cancel\fP(3), \fBaio_error\fP(3), \fBaio_fsync\fP(3), \fBaio_read\fP(3),
+\fBaio_suspend\fP(3), \fBaio_write\fP(3), \fBlio_listio\fP(3), \fBaio\fP(7)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.79 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。