source: trunk/packages/xen-3.1/xen-3.1/tools/libaio/man/io_getevents.1 @ 34

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

Add xen and xen-common

File size: 1.3 KB
Line 
1./"/* io_getevents:
2./" *      Attempts to read at least min_nr events and up to nr events from
3./" *      the completion queue for the aio_context specified by ctx_id.  May
4./" *      fail with -EINVAL if ctx_id is invalid, if min_nr is out of range,
5./" *      if nr is out of range, if when is out of range.  May fail with
6./" *      -EFAULT if any of the memory specified to is invalid.  May return
7./" *      0 or < min_nr if no events are available and the timeout specified
8./" *      by when has elapsed, where when == NULL specifies an infinite
9./" *      timeout.  Note that the timeout pointed to by when is relative and
10./" *      will be updated if not NULL and the operation blocks.  Will fail
11./" *      with -ENOSYS if not implemented.
12./" */
13./"asmlinkage long sys_io_getevents(io_context_t ctx_id,
14./"                                 long min_nr,
15./"                                 long nr,
16./"                                 struct io_event *events,
17./"                                 struct timespec *timeout)
18./"
19.TH io_getevents 2 2002-09-03 "Linux 2.4" "Linux AIO"
20.SH NAME
21io_getevents \- read resulting events from io requests
22.SH SYNOPSIS
23.B #include <errno.h>
24.br
25.B #include <libaio.h>
26.sp
27.BI "int io_getevents(io_context_t " ctx ", long " min_nr ", long " nr ", struct io_events *" events "[], struct timespec *" timeout ");"
28
29
Note: See TracBrowser for help on using the repository browser.