Cancel an asynchronous I/O operation
#include <aio.h> int aio_cancel( int fd, struct aiocb * aiocbptr );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The aio_cancel() function attempts to cancel one or more asynchronous I/O requests currently outstanding against a file descriptor.
-1; errno is set.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |