![]() |
![]()
| ![]() |
![]()
NAME
LIBRARYStandard C Library (libc, -lc) SYNOPSIS
int
DESCRIPTIONThe
The iocb pointer may be
subsequently used as an argument to
If the request could not be enqueued (generally due to aio(4) limits), then the call returns without having enqueued the request. The iocb->aio_sigevent structure can be used to request notification of the operation's completion as described in aio(4). RESTRICTIONSThe Asynchronous I/O Control Block structure pointed to by iocb and the buffer that the iocb->aio_buf member of that structure references must remain valid until the operation has completed. The asynchronous I/O control buffer
iocb should be zeroed before the
Modifications of the Asynchronous I/O Control Block structure or the memory mapping described by the virtual address range are not allowed while the request is queued. RETURN VALUESThe ERRORSThe
If the request is successfully enqueued, but subsequently
cancelled or an error occurs, the value returned by the
SEE ALSOaio_cancel(2), aio_error(2), aio_return(2), mlock(2), sigevent(3), aio(4) PORTABILITYThe
HISTORYThe AUTHORSThe system call was introduced by Gleb Smirnoff <glebius@FreeBSD.org>.
|