OSDN Git Service

Revert the following change to correct the mail address of the committer
[linuxjm/jm.git] / manual / LDP_man-pages / draft / man3 / aio_error.3
index 78b56cb..9fc7677 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 Sat Jul  3 05:28:09 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>
 .\"
-.TH AIO_ERROR 3 2003-11-14  "" "Linux Programmer's Manual"
-.\"O .SH NAME
+.TH AIO_ERROR 3 2013\-07\-04 "" "Linux Programmer's Manual"
 .SH 名前
-.\"O aio_error \- get error status of asynchronous I/O operation
 aio_error \- 非同期 I/O 操作のエラー状態を取得する
-.\"O .SH SYNOPSIS
 .SH 書式
-.B "#include <aio.h>"
+\fB#include <aio.h>\fP
 .sp
-.BI "int aio_error(const struct aiocb *" aiocbp );
+\fBint aio_error(const struct aiocb *\fP\fIaiocbp\fP\fB);\fP
 .sp
-.\"O Link with \fI\-lrt\fP.
 \fI\-lrt\fP でリンクする。
-.\"O .SH DESCRIPTION
 .SH 説明
-.\"O The
-.\"O .BR aio_error ()
-.\"O function returns the error status for the asynchronous I/O request
-.\"O with control block pointed to by
-.\"O .IR aiocbp .
-.BR aio_error ()
-関数は
-.I aiocbp
-で指された制御ブロックでの非同期 I/O リクエストのエラー状態を返す。
-.\"O .SH "RETURN VALUE"
+\fBaio_error\fP() 関数は \fIaiocbp\fP で指された制御ブロックでの非同期 I/O リクエス
+トのエラー状態を返す。(\fIaiocb\fP 構造体の説明は \fBaio\fP(7) を参照)
 .SH 返り値
-.\"O This function returns
-.\"O .B EINPROGRESS
-.\"O if the request has not been
-.\"O completed yet.
-.\"O It returns
-.\"O .B ECANCELED
-.\"O if the request was canceled.
-.\"O It returns 0 if the request completed successfully.
-リクエストがまだ完了していない場合、この関数は
-.B EINPROGRESS
-を返す。リクエストがキャンセルされた場合、この関数は
-.B ECANCELED
-を返す。リクエストが成功して完了した場合、この関数は 0 を返す。
-.\"O Otherwise an error value is returned, the same value that would have
-.\"O been stored in the
-.\"O .I errno
-.\"O variable in case of a synchronous
-.\"O .IR read ,
-.\"O .IR write ,
-.\"O .IR fsync ,
-.\"O or
-.\"O .I fdatasync
-.\"O request.
-それ以外の場合はエラー値が返される。
-このエラー値は、同期
-.IR read ,
-.IR write ,
-.IR fsync ,
-.I fdatasync
-リクエストの場合に
-.I errno
-に格納されるのと同じ値である。
-.\"O On error, the error value is returned.
-エラーの場合はエラー値が返される。
-.\"O .SH ERRORS
+この関数の返り値は以下のいずれかである。
+.IP * 3
+\fBEINPROGRESS\fP (リクエストがまだ完了していない場合)
+.IP *
+\fBECANCELED\fP (リクエストがキャンセルされた場合)
+.IP *
+0 (リクエストが正常に完了した場合)
+.IP *
+正のエラー番号 (非同期 I/O 命令が失敗した場合)。
+同期の \fBread\fP(2), \fBwrite\fP(2), \fBfsync\fP(2), \fBfdatasync\fP(2) の呼び出しの場合で
+\fIerrno\fP 変数に格納されるのと同じ値になる。
 .SH エラー
-.TP
-.B EINVAL
-.\"O .I aiocbp
-.\"O does not point at a control block for an asynchronous I/O request
-.\"O of which the return status (see
-.\"O .BR aio_return (3))
-.\"O has not been retrieved yet.
-.I aiocbp
-が、まだ返り値 (return status)
-.RB ( aio_return (3)
-を参照) が取得されていない非同期 I/O リクエストの制御ブロックを指していない。
-.\"O .SH "CONFORMING TO"
+.TP 
+\fBEINVAL\fP
+\fIaiocbp\fP が、まだ返り値 (return status)  (\fBaio_return\fP(3)  を参照) が取得されていない非同期 I/O
+リクエストの制御ブロックを指していない。
+.TP 
+\fBENOSYS\fP
+\fBaio_error\fP() は実装されていない。
+.SH バージョン
+\fBaio_error\fP() 関数は glibc 2.1 以降で利用できる。
+.SH 属性
+.SS "マルチスレッディング (pthreads(7) 参照)"
+\fBaio_error\fP() 関数はスレッドセーフである。
 .SH 準拠
-POSIX.1-2001.
-.\"O .SH "SEE ALSO"
+POSIX.1\-2001, POSIX.1\-2008.
+.SH 例
+\fBaio\fP(7) を参照。
 .SH 関連項目
-.BR aio_cancel (3),
-.BR aio_fsync (3),
-.BR aio_read (3),
-.BR aio_return (3),
-.BR aio_suspend (3),
-.BR aio_write (3)
+\fBaio_cancel\fP(3), \fBaio_fsync\fP(3), \fBaio_read\fP(3), \fBaio_return\fP(3),
+\fBaio_suspend\fP(3), \fBaio_write\fP(3), \fBlio_listio\fP(3), \fBaio\fP(7)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.53 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。