debuggers.hg

view tools/libaio/man/io_cancel.1 @ 0:7d21f7218375

Exact replica of unstable on 051908 + README-this
author Mukesh Rathor
date Mon May 19 15:34:57 2008 -0700 (2008-05-19)
parents
children
line source
1 .\"/* sys_io_cancel:
2 .\" * Attempts to cancel an iocb previously passed to io_submit. If
3 .\" * the operation is successfully cancelled, the resulting event is
4 .\" * copied into the memory pointed to by result without being placed
5 .\" * into the completion queue and 0 is returned. May fail with
6 .\" * -EFAULT if any of the data structures pointed to are invalid.
7 .\" * May fail with -EINVAL if aio_context specified by ctx_id is
8 .\" * invalid. May fail with -EAGAIN if the iocb specified was not
9 .\" * cancelled. Will fail with -ENOSYS if not implemented.
10 .\" */
11 .\"
12 .TH io_cancel 2 2002-09-03 "Linux 2.4" "Linux AIO"
13 .SH NAME
14 io_cancel \- cancel io requests
15 .SH SYNOPSIS
16 .B #include <errno.h>
17 .br
18 .B #include <libaio.h>
19 .LP
20 .BI "int io_submit(io_context_t " ctx ", struct iocb *" iocb ", struct io_event *" result ");"