1IO_DESTROY(2)              Linux Programmer's Manual             IO_DESTROY(2)
2
3
4

NAME

6       io_destroy - Destroy an asynchronous I/O context
7

SYNOPSIS

9       #include <libaio.h>
10
11
12       int io_destroy (aio_context_t ctx);
13
14

DESCRIPTION

16       io_destroy()  removes the asynchronous I/O context from the list of I/O
17       contexts and then destroys it.  io_destroy() can also cancel  any  out‐
18       standing asynchronous I/O actions on ctx and block on completion.
19
20

RETURN VALUE

22       io_destroy() returns 0 on success.
23
24

ERRORS

26       EINVAL The AIO context specified by ctx is invalid.
27
28
29       EFAULT The context pointed to is invalid.
30
31
32       ENOSYS io_destroy() is not implemented on this architecture.
33
34

CONFORMING TO

36       io_destroy()  is Linux specific and should not be used in programs that
37       are intended to be portable.
38
39

VERSIONS

41       The asynchronous I/O system calls first appeared in Linux  2.5,  August
42       2002.
43
44

SEE ALSO

46       io_setup(2), io_submit(2), io_getevents(2), io_cancel(2).
47
48

NOTES

50       The asynchronous I/O system calls were written by Benjamin LaHaise.
51
52

AUTHOR

54       Kent Yoder.
55
56
57
58Linux 2.4                         2003-02-21                     IO_DESTROY(2)
Impressum