Cancel an asynchronous I/O operation
#include <aio.h>
int aio_cancel( int fd,
struct aiocb * aiocbptr );
libc
The aio_cancel() function attempts to cancel one or more asynchronous I/O requests currently outstanding against file descriptor.
| Asynchronous I/O operations aren't currently supported. |
-1, and errno is set.
POSIX 1003.1 (Realtime Extensions)
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |