File: io_submit.2

package info (click to toggle)
manpages-ja 0.5.0.0.20080615-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 20,508 kB
  • ctags: 1
  • sloc: sh: 13,690; perl: 157; makefile: 114
file content (97 lines) | stat: -rw-r--r-- 2,414 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
.\" Copyright (C) 2003 Free Software Foundation, Inc.
.\" This file is distributed according to the GNU General Public License.
.\" See the file COPYING in the top level source directory for details.
.\"
.\" Japanese Version Copyright (c) 2003 Akihiro MOTOKI, all rights reserved.
.\" Translated Mon Mar  8 2003 by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
.\"
.\" .de Sh \" Subsection
.\" .br
.\" .if t .Sp
.\" .ne 5
.\" .PP
.\" \fB\\$1\fP
.\" .PP
.\" ..
.\" .de Sp \" Vertical space (when we can't use .PP)
.\" .if t .sp .5v
.\" .if n .sp
.\" ..
.\" .de Ip \" List item
.\" .br
.\" .ie \\n(.$>=3 .ne \\$3
.\" .el .ne 3
.\" .IP "\\$1" \\$2
.\" ..
.TH IO_SUBMIT 2 2003-02-21 "Linux" "Linux Programmer's Manual"
.SH ̾
io_submit \- Ʊ I/O ֥åԤ塼Ͽ
.SH 
.nf
.\" .ad l
.\" .hy 0
.B #include <libaio.h>
.\" #include <linux/aio.h>
.sp
.\" .HP 16
.BI "int io_submit(aio_context_t " ctx_id ", long " nr \
", struct iocb **" iocbpp );
.\" .ad
.\" .hy
.sp
\fI\-laio\fP ȥ󥯤롣
.fi
.SH 
.PP
.BR io_submit ()
ϡAIO ƥ \fIctx_id\fP  \fInr\fP Ĥ I/O
ꥯȤԤȤƥ塼ɲä롣
\fIiocbpp\fP ϡAIO ƥ \fIctx_id\fP Ͽ \fInr\fP Ĥ
AIO ꥯȡ֥åˤʤäƤʤФʤʤ
.SH ֤
.PP
ȡ
.BR io_submit ()
Ͽ \fIiocb\fP θĿ֤
(\fInr\fP  0 ξ 0 ֤)
Ԥ硢֥顼פ󤵤Ƥ륨顼Τ줫Ĥ֤
.SH 顼
.TP
.B EINVAL
\fIctx_id\fP ǻꤵ줿 \fIaio_context\fP ̵Ǥ롣
\fInr\fP  0 ̤Ǥ롣
*iocbpp[0]  \fIiocb\fP Ŭڤ˽Ƥʤ
ꤵ줿 \fIiocb\fP Υե롦ǥץФ
̵Ǥ롣
.TP
.B EFAULT
ǡ¤̵ʥǡؤƤΤ롣
.TP
.B EBADF
Ƭ \fIiocb\fP ˻ꤵ줿ե롦ǥץ̵Ǥ롣
.TP
.B EAGAIN
Ĥ \fIiocb\fP 򥭥塼Τɬפʥ꥽ʤ
.TP
.B ENOSYS
.BR io_submit ()
ϤΥƥǤϼƤʤ
.SH С
.PP
Ʊ I/O ƥࡦ 2002ǯ8 Linux 2.5 ǽо줷
.SH 
.PP
.BR io_submit ()
 Linux ͭǤꡢܿꤷץ
Ѥ٤ǤϤʤ
.SH Ϣ
.PP
.BR io_setup (2),
.BR io_destroy (2),
.BR io_getevents (2),
.BR io_cancel (2)
.\" .SH 
.\" .PP
.\" Ʊ I/O ƥࡦ Benjamin LaHaise 񤤤
.\" .SH 
.\" Kent Yoder.