OSDN Git Service

(split) Fixed #25191 (typo in fenv.3).
[linuxjm/LDP_man-pages.git] / release / man3 / aio_write.3
1 .\" Copyright (c) 2003 Andries Brouwer (aeb@cwi.nl)
2 .\"
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.
7 .\"
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.
12 .\"
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.
17 .\"
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,
21 .\" USA.
22 .\"
23 .\" Japanese Version Copyright (c) 2004 Yuichi SATO
24 .\"         all rights reserved.
25 .\" Translated Sat Jul 10 03:54:47 JST 2004
26 .\"         by Yuichi SATO <ysato444@yahoo.co.jp>
27 .\"
28 .TH AIO_WRITE 3 2003-11-14  "" "Linux Programmer's Manual"
29 .SH Ì¾Á°
30 aio_write \- ÈóƱ´ü¤Ç½ñ¤­¹þ¤à
31 .SH ½ñ¼°
32 .B "#include <aio.h>"
33 .sp
34 .BI "int aio_write(struct aiocb *" aiocbp );
35 .sp
36 \fI\-lrt\fP ¤Ç¥ê¥ó¥¯¤¹¤ë¡£
37 .SH ÀâÌÀ
38 .BR aio_write ()
39 ´Ø¿ô¤ÏÈóƱ´ü¤Î "n = write(fd, buf, count)" ¤ò¥ê¥¯¥¨¥¹¥È¤¹¤ë¡£
40 ¤³¤³¤Ç fd, buf, count ¤Ï¡¢¤½¤ì¤¾¤ì
41 .IR aiocbp\->aio_fildes ,
42 .IR aiocbp\->aio_buf ,
43 .I aiocbp\->aio_nbytes
44 ¤ÇÍ¿¤¨¤é¤ì¤ë¡£
45 ÊÖ¤êÃÍ (return status) n ¤Ï¡¢´°Î»»þ¤Ë
46 .BR aio_return (3)
47 ¤ò»È¤Ã¤Æ¼èÆÀ¤Ç¤­¤ë¡£
48 .LP
49 .B O_APPEND
50 ¤¬ÀßÄꤵ¤ì¤Ê¤¤¾ì¹ç¡¢¥«¥ì¥ó¥È¤Î¥Õ¥¡¥¤¥ë°ÌÃ֤˴ط¸¤Ê¤¯¡¢
51 ¥Ç¡¼¥¿¤ÏÀäÂÐ¥Õ¥¡¥¤¥ë¥ª¥Õ¥»¥Ã¥È
52 .I aiocbp\->aio_offset
53 ¤ò³«»ÏÅÀ¤È¤·¤Æ½ñ¤­¹þ¤Þ¤ì¤ë¡£
54 .B O_APPEND
55 ¤¬ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥Ç¡¼¥¿¤Ï¥Õ¥¡¥¤¥ë¤Î½ªÃ¼¤Ë½ñ¤­¹þ¤Þ¤ì¤ë¡£
56 ¤³¤Î¥ê¥¯¥¨¥¹¥È¤Î¸å¤Î¡¢¥«¥ì¥ó¥È¤Î¥Õ¥¡¥¤¥ë°ÌÃ֤ϵ¬Äꤵ¤ì¤Æ¤¤¤Ê¤¤¡£
57 .LP
58 ¡ÖÈóƱ´ü¡×¤È¤Ï¡Ö¥ê¥¯¥¨¥¹¥È¤¬¥­¥å¡¼¤ËÆþ¤ì¤é¤ì¤¿¤é¡¢¤³¤Î¸Æ¤Ó½Ð¤·¤Ï¤¹¤°¤ËÊÖ¤ë¡×
59 ¤È¤¤¤¦¤³¤È¤Ç¤¢¤ë¡£
60 ¸Æ¤Ó½Ð¤·¤«¤éÌá¤Ã¤¿»þ¤Ë¡¢½ñ¤­¹þ¤ß¤Ï´°Î»¤·¤Æ¤¤¤ë¤«¤âÃΤì¤Ê¤¤¤·¡¢
61 ´°Î»¤·¤Æ¤¤¤Ê¤¤¤«¤âÃΤì¤Ê¤¤¡£
62 .BR aio_error (3)
63 ¤ò»È¤¦¤³¤È¤Ç´°Î»¤·¤¿¤«¤ò¥Æ¥¹¥È¤Ç¤­¤ë¡£
64 .LP
65 .B _POSIX_PRIORITIZED_IO
66 ¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤Æ¡¢
67 ¤«¤Ä¥Õ¥¡¥¤¥ë¤¬¤³¤ì¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¾ì¹ç¡¢
68 ÈóƱ´üÁàºî¤Ï¸Æ¤Ó½Ð¤·¤¿¥×¥í¥»¥¹¤ÎÍ¥ÀèÅÙ¤«¤é
69 .I aiocbp\->aio_reqprio
70 ¤ò°ú¤¤¤¿Í¥ÀèÅÙ¤ÇÅÐÏ¿ (submit) ¤µ¤ì¤ë¡£
71 .LP
72 ¥Õ¥£¡¼¥ë¥É
73 .I aiocbp\->aio_lio_opcode
74 ¤Ï̵»ë¤µ¤ì¤ë¡£
75 .LP
76 ºÇÂ祪¥Õ¥»¥Ã¥È¤òĶ¤¨¤¿Ä̾ï¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢²¿¤â¥Ç¡¼¥¿¤¬½ñ¤­¹þ¤Þ¤ì¤Ê¤¤¡£
77 .SH ÊÖ¤êÃÍ
78 À®¸ù¤·¤¿¾ì¹ç¡¢0 ¤¬ÊÖ¤µ¤ì¤ë¡£
79 ¥¨¥é¡¼¤Î¾ì¹ç¡¢¥ê¥¯¥¨¥¹¥È¤Ï¥­¥å¡¼¤ËÆþ¤ì¤é¤ì¤º¡¢
80 \-1 ¤¬ÊÖ¤µ¤ì¤Æ¡¢
81 .I errno
82 ¤¬Å¬ÀÚ¤ËÀßÄꤵ¤ì¤ë¡£
83 ¥¨¥é¡¼¤ÏºÇ½é¤Ë¸¡ÃΤµ¤ì¤¿¸å¤Ç¡¢
84 (¾õÂÖ \-1 ¤òÊÖ¤¹)
85 .BR aio_return (3)
86 ¤È
87 .RI ( errno
88 ¤Ç¼èÆÀ¤Ç¤­¤ë
89 .B EBADF
90 ¤Î¤è¤¦¤Ê¥¨¥é¡¼¾õÂÖ¤òÊÖ¤¹)
91 .BR aio_error (3)
92 ¤ÇÊó¹ð¤µ¤ì¤ë¤À¤í¤¦¡£
93 .SH ¥¨¥é¡¼
94 .TP
95 .B EAGAIN
96 ¥ê¥½¡¼¥¹¤¬Â­¤ê¤Ê¤¤¡£
97 .TP
98 .B EBADF
99 .I aio_fildes
100 ¤Ï½ñ¤­¹þ¤ß¤Î¤¿¤á¤Ë¥ª¡¼¥×¥ó¤µ¤ì¤¿Í­¸ú¤Ê¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤Ç¤Ê¤¤¡£
101 .TP
102 .B EFBIG
103 ¥Õ¥¡¥¤¥ë¤ÏÄ̾ï¤Î¥Õ¥¡¥¤¥ë¤Ç¤¢¤ê¡¢¾¯¤Ê¤¯¤È¤â 1 ¥Ð¥¤¥È¤ò½ñ¤­¹þ¤â¤¦¤È¤·¤Æ¤¤¤ë¡£
104 ¤·¤«¤·³«»Ï°ÌÃÖ¤¬¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤ÎºÇÂ祪¥Õ¥»¥Ã¥È¤ÈƱ¤¸¤«¤½¤ì¤òĶ¤¨¤Æ¤¤¤ë¡£
105 .TP
106 .B EINVAL
107 .IR aio_offset ,
108 .IR aio_reqprio ,
109 .I aio_nbytes
110 ¤Î¤¦¤Á 1 ¤Ä°Ê¾å¤¬Ìµ¸ú¤Ç¤¢¤ë¡£
111 .TP
112 .B ENOSYS
113 ¤³¤Î´Ø¿ô¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Ê¤¤¡£
114 .SH ½àµò
115 POSIX.1-2001.
116 .SH Ãí°Õ
117 »ÈÍѤ¹¤ëÁ°¤ËÀ©¸æ¥Ö¥í¥Ã¥¯¤ò 0 ¤Ë¤·¤Æ¤ª¤¯¤Î¤Ï¡¢¤è¤¤¹Í¤¨¤Ç¤¢¤ë¡£
118 ¤³¤ÎÀ©¸æ¥Ö¥í¥Ã¥¯¤Ï¡¢Æɤ߹þ¤ßÁàºî¤¬¿Ê¹Ô¤·¤Æ¤¤¤ë´Ö¤ÏÊѹ¹¤¹¤Ù¤­¤Ç¤Ê¤¤¡£
119 Æɤ߹þ¤Þ¤ì¤ë¥Ð¥Ã¥Õ¥¡Îΰè¤Ï
120 .\" ¤Þ¤¿¤ÏÁàºî¤ÎÀ©¸æ¥Ö¥í¥Ã¥¯¤Ï
121 Áàºî¤ÎºÇÃæ¤Ë¥¢¥¯¥»¥¹¤¹¤Ù¤­¤Ç¤Ï¤Ê¤¤¡£
122 ¤µ¤â¤Ê¤¤¤Èµ¯¤³¤ë·ë²Ì¤¬ÉÔÄê¤Ë¤Ê¤ë¡£
123 ¤³¤ì¤Ë´Þ¤Þ¤ì¤ë¥á¥â¥êÎΰè¤Ï¡¢Í­¸ú¤Ê¤Þ¤Þ¤Ë¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
124 .SH ´ØÏ¢¹àÌÜ
125 .BR aio_cancel (3),
126 .BR aio_error (3),
127 .BR aio_fsync (3),
128 .BR aio_read (3),
129 .BR aio_return (3),
130 .BR aio_suspend (3)