#include <sys/asynch.h>
int aiocancel(resultp) aio_result_t *resultp;
aiocancel() cancels the asynchronous operation associated with the result buffer pointed to by resultp. It may not be possible to immediately cancel an operation which is in progress and in this case, aiocancel() will not wait to cancel it.
Upon successful completion, aiocancel() will return 0 and the requested operation will be canceled. The application will not receive the SIGIO completion signal for an asynchronous operation which is successfully canceled.
aiocancel() returns:
aiocancel() will fail if any of the following are true:
The operation could not be cancelled.
Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97