Line | |
---|
1 | .TH io_queue_run 2 2002-09-03 "Linux 2.4" "Linux AIO" |
---|
2 | .SH NAME |
---|
3 | io_queue_run \- Handle completed io requests |
---|
4 | .SH SYNOPSIS |
---|
5 | .nf |
---|
6 | .B #include <errno.h> |
---|
7 | .br |
---|
8 | .sp |
---|
9 | .B #include <libaio.h> |
---|
10 | .br |
---|
11 | .sp |
---|
12 | .BI "int io_queue_run(io_context_t ctx );" |
---|
13 | .sp |
---|
14 | .fi |
---|
15 | .SH DESCRIPTION |
---|
16 | .B io_queue_run |
---|
17 | Attempts to read all the events events from |
---|
18 | the completion queue for the aio_context specified by ctx_id. |
---|
19 | .SH "RETURN VALUES" |
---|
20 | May return |
---|
21 | 0 if no events are available. |
---|
22 | Will fail with -ENOSYS if not implemented. |
---|
23 | .SH ERRORS |
---|
24 | .TP |
---|
25 | .B EFAULT |
---|
26 | .I iocbs |
---|
27 | referenced data outside of the program's accessible address space. |
---|
28 | .TP |
---|
29 | .B EINVAL |
---|
30 | .I ctx |
---|
31 | refers to an unitialized aio context, the iocb pointed to by |
---|
32 | .I iocbs |
---|
33 | contains an improperly initialized iocb, |
---|
34 | .TP |
---|
35 | .B ENOSYS |
---|
36 | Not implemented |
---|
37 | .SH "SEE ALSO" |
---|
38 | .BR io(3), |
---|
39 | .BR io_cancel(3), |
---|
40 | .BR io_fsync(3), |
---|
41 | .BR io_getevents(3), |
---|
42 | .BR io_prep_fsync(3), |
---|
43 | .BR io_prep_pread(3), |
---|
44 | .BR io_prep_pwrite(3), |
---|
45 | .BR io_queue_init(3), |
---|
46 | .BR io_queue_release(3), |
---|
47 | .BR io_queue_wait(3), |
---|
48 | .BR io_set_callback(3), |
---|
49 | .BR io_submit(3), |
---|
50 | .BR errno(3) |
---|
Note: See
TracBrowser
for help on using the repository browser.