aiocancel(3scl)aiocancel(3scl)NAMEaiocancel - cancel an asynchronous I/O operation
LIBRARY
SCL Miscellaneous Library (libsolmisc.so, libsolmisc.a)
SYNOPSIS
#include <sys/asynch.h>
int aiocancel(aio_result_t *resultp);
PARAMETERS
Pointer to a result structure representing the asynchronous I/O opera‐
tion to be cancelled
DESCRIPTION
The aiocancel() function cancels an outstanding asynchronous I/O opera‐
tion. If an operation is actually in progress it may not be possible to
cancel it.
If an operation is successfully cancelled, the SIGIO completion signal
is not raised.
RETURN VALUES
The aiocancel() function returns 0 if it successfully cancels an I/O
operation, otherwise it returns -1.
ERRORS
The SCL implementation of this function may cause errors to occur that
could not occur on Solaris. Such errors are written to the SCL error‐
log. In this case the errno reflecting the actual error is mapped to an
errno that is valid and expected on Solaris. This means that applica‐
tions testing for a specific set of errors will continue to work as
expected.
The specified result structure does not reference an outstanding I/O
operation, although at least one other request is outstanding.
An internal implementation error occurred. Refer to the SCL
errorlog for additional information
There are no outstanding I/O operations to cancel.
An internal implementation error occurred. Refer to the SCL
errorlog for additional information
RELATED INFORMATION
Functions: aioread(3scl), aiowait(3scl), aiowrite(3scl)
File: scl_error_log(4scl)
Manual: Solaris Compatibility Library User's Guide
aiocancel(3scl)