OSDN Git Service

Convert release and draft pages to UTF-8.
[linuxjm/jm.git] / manual / LDP_man-pages / draft / man3 / aio_cancel.3
index 8d77d82..5588575 100644 (file)
 .\"
 .TH AIO_CANCEL 3 2003-11-14  "" "Linux Programmer's Manual"
 .\"O .SH NAME
-.SH Ì¾Á°
+.SH 名前
 .\"O aio_cancel \- cancel an outstanding asynchronous I/O request
-aio_cancel \- ´°Î»¤·¤Æ¤¤¤Ê¤¤ÈóƱ´ü I/O ¥ê¥¯¥¨¥¹¥È¤ò¥­¥ã¥ó¥»¥ë¤¹¤ë
+aio_cancel \- 完了していない非同期 I/O リクエストをキャンセルする
 .\"O .SH SYNOPSIS
-.SH ½ñ¼°
+.SH 書式
 .B "#include <aio.h>"
 .sp
 .BI "int aio_cancel(int " fd ", struct aiocb *" aiocbp );
 .sp
 .\"O Link with \fI\-lrt\fP.
-\fI\-lrt\fP ¤Ç¥ê¥ó¥¯¤¹¤ë¡£
+\fI\-lrt\fP でリンクする。
 .\"O .SH DESCRIPTION
-.SH ÀâÌÀ
+.SH 説明
 .\"O The
 .\"O .BR aio_cancel ()
 .\"O function attempts to cancel outstanding asynchronous I/O requests
 .\"O for the file descriptor
 .\"O .IR fd .
 .BR aio_cancel ()
-´Ø¿ô¤Ï¡¢¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿
+é\96¢æ\95°ã\81¯ã\80\81ã\83\95ã\82¡ã\82¤ã\83«ã\83\87ã\82£ã\82¹ã\82¯ã\83ªã\83\97ã\82¿
 .I fd
-¤Ë¤Ä¤¤¤Æ¤Î´°Î»¤·¤Æ¤¤¤Ê¤¤ÈóƱ´ü I/O ¥ê¥¯¥¨¥¹¥È¤ò¥­¥ã¥ó¥»¥ë¤·¤è¤¦¤È¤¹¤ë¡£
+についての完了していない非同期 I/O リクエストをキャンセルしようとする。
 .\"O If
 .\"O .I aiocbp
 .\"O is NULL, all such requests are canceled.
@@ -57,23 +57,23 @@ aio_cancel \- 
 .\"O .I aiocbp
 .\"O is canceled.
 .I aiocbp
-¤¬ NULL ¤Î¾ì¹ç¡¢¤½¤Î¤è¤¦¤ÊÁ´¤Æ¤Î¥ê¥¯¥¨¥¹¥È¤¬¥­¥ã¥ó¥»¥ë¤µ¤ì¤ë¡£
+が NULL の場合、そのような全てのリクエストがキャンセルされる。
 .I aiocbp
-¤¬ NULL ¤Ç¤Ê¤¤¾ì¹ç¡¢
+が NULL でない場合、
 .I aiocbp
-¤Ç»Ø¤µ¤ì¤¿À©¸æ¥Ö¥í¥Ã¥¯¤Çµ­½Ò¤µ¤ì¤¿¥ê¥¯¥¨¥¹¥È¤Î¤ß¤¬¥­¥ã¥ó¥»¥ë¤µ¤ì¤ë¡£
+で指された制御ブロックで記述されたリクエストのみがキャンセルされる。
 .LP
 .\"O Normal asynchronous notification occurs for canceled requests.
-¥­¥ã¥ó¥»¥ë¤µ¤ì¤¿¥ê¥¯¥¨¥¹¥È¤ËÂФ·¤Æ¡¢Ä̾ï¤ÎÈóƱ´üÄÌÃΤ¬µ¯¤³¤ë¡£
+キャンセルされたリクエストに対して、通常の非同期通知が起こる。
 .\"O The request return status is set to \-1, and the request error status
 .\"O is set to
 .\"O .BR ECANCELED .
-¥ê¥¯¥¨¥¹¥È¤ÎÊÖ¤êÃͤϠ\-1 ¤ËÀßÄꤵ¤ì¡¢
-¥ê¥¯¥¨¥¹¥È¤Î¥¨¥é¡¼¾õÂÖ¤Ï
+リクエストの返り値は \-1 に設定され、
+リクエストのエラー状態は
 .B ECANCELED
-¤ËÀßÄꤵ¤ì¤ë¡£
+に設定される。
 .\"O The control block of requests that cannot be canceled is not changed.
-¥­¥ã¥ó¥»¥ë¤Ç¤­¤Ê¤«¤Ã¤¿¥ê¥¯¥¨¥¹¥È¤ÎÀ©¸æ¥Ö¥í¥Ã¥¯¤ÏÊѹ¹¤µ¤ì¤Ê¤¤¡£
+キャンセルできなかったリクエストの制御ブロックは変更されない。
 .LP
 .\"O If
 .\"O .I aiocbp
@@ -82,17 +82,17 @@ aio_cancel \- 
 .\"O differs from the file descriptor with which the asynchronous operation
 .\"O was initiated, unspecified results occur.
 .I aiocbp
-¤¬ NULL ¤Ç¤Ê¤¯¡¢¤«¤Ä
+が NULL でなく、かつ
 .I fd
-¤¬ÈóƱ´üÁàºî¤¬³«»Ï¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤È°Û¤Ê¤ë¾ì¹ç¡¢
-À¸¤¸¤ë·ë²Ì¤ÏÉÔÄê¤Ç¤¢¤ë¡£
+が非同期操作が開始されたファイルディスクリプタと異なる場合、
+生じる結果は不定である。
 .LP
 .\"O Which operations are cancellable is implementation-defined.
-¤É¤ÎÁàºî¤ò¥­¥ã¥ó¥»¥ë¤Ç¤­¤ë¤«¤Ï¡¢¼ÂÁõÄêµÁ¤Ç¤¢¤ë¡£
+どの操作をキャンセルできるかは、実装定義である。
 .\"O .\" FreeBSD: not those on raw disk devices.
-.\" FreeBSD: raw ¥Ç¥£¥¹¥¯¥Ç¥Ð¥¤¥¹¤Ø¤Î¥ê¥¯¥¨¥¹¥È¤Ï¥­¥ã¥ó¥»¥ë¤Ç¤­¤Ê¤¤¡£
+.\" FreeBSD: raw ディスクデバイスへのリクエストはキャンセルできない。
 .\"O .SH "RETURN VALUE"
-.SH ÊÖ¤êÃÍ
+.SH 返り値
 .\"O This function returns
 .\"O .B AIO_CANCELED
 .\"O if all requests were successfully
@@ -101,45 +101,45 @@ aio_cancel \- 
 .\"O .B AIO_NOTCANCELED
 .\"O when at least one of the
 .\"O requests specified was not canceled because it was in progress.
-Á´¤Æ¤Î¥ê¥¯¥¨¥¹¥È¤Î¥­¥ã¥ó¥»¥ë¤¬À®¸ù¤·¤¿¾ì¹ç¡¢¤³¤Î´Ø¿ô¤Ï
+全てのリクエストのキャンセルが成功した場合、この関数は
 .B AIO_CANCELED
-¤òÊÖ¤¹¡£
-»ØÄꤵ¤ì¤¿¥ê¥¯¥¨¥¹¥È¤Î¤¦¤Á¾¯¤Ê¤¯¤È¤â 1 ¤Ä¤¬¿Ê¹ÔÃæ¤Ç¤¢¤ë¤¿¤á¤Ë
-¥­¥ã¥ó¥»¥ë¤Ç¤­¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï¡¢
+を返す。
+指定されたリクエストのうち少なくとも 1 つが進行中であるために
+キャンセルできなかった場合は、
 .B AIO_NOTCANCELED
-¤¬ÊÖ¤µ¤ì¤ë¡£
+が返される。
 .\"O In this case one may check the status of individual requests using
 .\"O .BR aio_error (3).
-¤³¤Î¾ì¹ç¤Ï¡¢
+この場合は、
 .BR aio_error (3)
-¤ò»È¤Ã¤Æ¸Ä¡¹¤Î¥ê¥¯¥¨¥¹¥È¤Î¾õÂÖ¤ò¥Á¥§¥Ã¥¯¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
+を使って個々のリクエストの状態をチェックすることができる。
 .\"O This function returns
 .\"O .B AIO_ALLDONE
 .\"O when all requests had
 .\"O been completed already before this call.
-¸Æ¤Ó½Ð¤µ¤ì¤ëÁ°¤ËÁ´¤Æ¤Î¥ê¥¯¥¨¥¹¥È¤¬´°Î»¤·¤Æ¤¤¤¿¾ì¹ç¡¢
-¤³¤Î´Ø¿ô¤Ï
+呼び出される前に全てのリクエストが完了していた場合、
+この関数は
 .B AIO_ALLDONE
-¤òÊÖ¤¹¡£
+を返す。
 .\"O When some error occurs, \-1 is returned, and
 .\"O .I errno
 .\"O is set appropriately.
-²¿¤é¤«¤Î¥¨¥é¡¼¤¬µ¯¤³¤Ã¤¿¾ì¹ç¤Ï¡¢\-1 ¤¬ÊÖ¤µ¤ì¤Æ¡¢
+何らかのエラーが起こった場合は、\-1 が返されて、
 .I errno
-¤¬Å¬ÀÚ¤ËÀßÄꤵ¤ì¤ë¡£
+が適切に設定される。
 .\"O .SH ERRORS
-.SH ¥¨¥é¡¼
+.SH ã\82¨ã\83©ã\83¼
 .TP
 .B EBADF
 .\"O .I fd
 .\"O is not a valid file descriptor.
 .I fd
-¤¬Í­¸ú¤Ê¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤Ç¤Ê¤¤¡£
+が有効なファイルディスクリプタでない。
 .\"O .SH "CONFORMING TO"
-.SH ½àµò
+.SH 準拠
 POSIX.1-2001.
 .\"O .SH "SEE ALSO"
-.SH ´ØÏ¢¹àÌÜ
+.SH 関連項目
 .BR aio_error (3),
 .BR aio_fsync (3),
 .BR aio_read (3),