*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: aio_cancel | Section: 3 | Source: Digital UNIX | File: aio_cancel.3.gz
aio_cancel(3) Library Functions Manual aio_cancel(3) NAME aio_cancel - Cancel one or more asynchronous I/O requests pending against the specified file descriptor (P1003.1b) SYNOPSIS #include <aio.h> int aio_cancel ( int fildes, struct aiocb *aiocbp); PARAMETERS fildes The file descriptor against which outstanding asynchronous I/O operations are canceled. *aiocbp A pointer to the address of the aiocb structure for a particu- lar request to be canceled. If the aiocbp argument is NULL, all queued outstanding asynchronous I/O requests against the file descriptor are canceled. DESCRIPTION The aio_cancel function cancels asynchronous I/O requests. Normal sig- nal delivery occurs for asynchronous I/O operations that are success- fully canceled. If a request cannot be canceled, then the normal asyn- chronous completion process takes place for those requests when they are completed. RETURN VALUES On a successful call to the aio_cancel function, the requested opera- tion is canceled, and AIO_CANCELED is returned. If at least one of the requested operations is not canceled because it is in progress, AIO_NOTCANCELED is returned. If all the operations completed prior to the cancel request, AIO_ALLDONE is returned. On an unsuccessful call, a value of -1 is returned and errno is set to indicate that an error occurred. Note that the value of -1 is returned only if the call itself failed. ERRORS The aio_cancel function fails under the following conditions: [EBADF] The fildes argument is not a valid file descriptor. RELATED INFORMATION Functions: aio_group_completion_np(3), aio_read(3), aio_results_np(3), aio_write(3). delim off aio_cancel(3)

Navigation Options