.\" the source, must acknowledge the copyright and authors of this work.
.\" %%%LICENSE_END
.\"
-.TH AIO_INIT 3 2012-04-26 "Linux" "Linux Programmer's Manual"
+.TH AIO_INIT 3 2017-09-15 "Linux" "Linux Programmer's Manual"
.SH NAME
aio_init \- asynchronous I/O initialization
.SH SYNOPSIS
glibc POSIX AIO implementation.
Use of this function is optional, but to be effective,
it must be called before employing any other functions in the POSIX AIO API.
-
+.PP
The tuning information is provided in the buffer pointed to by the argument
.IR init .
This buffer is a structure of the following form:
.PP
.in +4n
-.nf
+.EX
struct aioinit {
int aio_threads; /* Maximum number of threads */
int aio_num; /* Number of expected simultaneous
terminates (since glibc 2.2) */
int aio_reserved;
};
-.fi
+.EE
.in
.PP
The following fields are used in the