source: trunk/packages/xen-3.1/xen-3.1/tools/libaio/man/io_queue_run.3 @ 34

Last change on this file since 34 was 34, checked in by hartmans, 18 years ago

Add xen and xen-common

File size: 1020 bytes
Line 
1.TH io_queue_run 2 2002-09-03 "Linux 2.4" "Linux AIO"
2.SH NAME
3io_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
17Attempts to read  all the events events from
18the completion queue for the aio_context specified by ctx_id.
19.SH "RETURN VALUES"
20May return
210 if no events are available.
22Will fail with -ENOSYS if not implemented.
23.SH ERRORS
24.TP
25.B EFAULT
26.I iocbs
27referenced data outside of the program's accessible address space.
28.TP
29.B EINVAL
30.I ctx
31refers to an unitialized aio context, the iocb pointed to by
32.I iocbs
33contains an improperly initialized iocb,
34.TP
35.B ENOSYS
36Not 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.