File: io_getevents.2

package info (click to toggle)
manpages-ja 0.5.0.0.20050315-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 18,620 kB
  • ctags: 4
  • sloc: sh: 12,675; perl: 157; makefile: 106
file content (90 lines) | stat: -rw-r--r-- 2,347 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
.\" 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>
.\"
.\"WORD:	completion queue	λ塼
.\"
.de Sh \" Subsection
.br
.if t .Sp
.ne 5
.PP
\fB\\$1\fR
.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_GETEVENTS" 2 "2003-02-21" "Linux 2.4" "Linux Programmer's Manual"
.SH ̾
io_getevents \- λ塼Ʊ I/O ٥Ȥɤ߽Ф
.SH 
.ad l
.hy 0

#include <linux/time.h>

.sp

#include <linux/aio.h>

.sp
.HP 19
long\ \fBio_getevents\fR\ (aio_context_t\ \fIctx_id\fR, long\ \fImin_nr\fR, long\ \fInr\fR, struct\ io_event\ \fI*events\fR, struct\ timespec\ \fI*timeout\fR);
.ad
.hy

.SH 
.PP
\fBio_getevents\fR ϡʤȤ \fImin_nr\fR Ρ \fInr\fR Ĥ
٥Ȥ \fIctx_id\fR ǻꤵ줿 AIO (Ʊ I/O) ƥȤ
λ塼ɤ߽ФȤ롣
\fItimeout\fR ϥ٥ɤ߽ФԤ֤ιפꤹ롣
ॢȤ NULL ꤷ硢ʤȤ \fImin_nr\fR ĤΥ٥Ȥ
ɤ߽ФޤԤĤȤ̣롣
ʲˤ:
\fItimeout\fR ŪʻǤ롣
NULL Ǥʤ繹뤳Ȥ⤢ꤨ롣
ƤӽФưߤ롣

.SH ֤
.PP
\fBio_getevents\fR ɤ߽Ф٥ȿ֤
٥ȤĤɤ߽Фʤä 0 ֤졢
\fItimeout\fR ֤вᤷ \fImin_nr\fR ̤֤ͤ롣
.SH 顼
.TP
EINVAL
\fIctx_id\fR ̵Ǥ롣⤷ϡ\fImin_nr\fR ޤ \fInr\fR 
ϰϳͤǤ롣
.TP
EFAULT
\fIevents\fR ޤ \fItimeout\fR ̵ʥݥ󥿤Ǥ롣
.TP
ENOSYS
\fBio_getevents\fR ΥƥǤϼƤʤ
.SH 
.PP
\fBio_getevents\fR  Linux ͭǤꡢܿꤷץ
Ѥ٤ǤϤʤ
.SH С
.PP
Ʊ I/O ƥࡦ 2002ǯ8 Linux 2.5 ǽо줷
.SH Ϣ
.PP
\fBio_setup\fR(2), \fBio_submit\fR(2), \fBio_getevents\fR(2), \fBio_cancel\fR(2), \fBio_destroy\fR(2).
.SH 
.PP
Ʊ I/O ƥࡦ Benjamin LaHaise 񤤤
.SH 
Kent Yoder.