Manual Pages for UNIX Darwin command on man aio_cancel
MyWebUniversity

Manual Pages for UNIX Darwin command on man aio_cancel

AIOCANCEL(2) BSD System Calls Manual AIOCANCEL(2)

NAME

aaiiooccaanncceell - cancel an outstanding asynchronous I/O operation (REALTIME)

LLIIBBRRAARRYY

Standard C Library (libc, -lc)

SYNOPSIS

##iinncclluuddee <>

int aaiiooccaanncceell(int fildes, struct aiocb *aiocbp);

DESCRIPTION

The aaiiooccaanncceell() system call cancels the outstanding asynchronous I/O

request for the file descriptor specified in fildes. If aiocbp is speci-

fied, only that specific asynchronous I/O request is cancelled. Normal asynchronous notification occurs for cancelled requests. Requests complete with an error result of ECANCELED. RREESSTTRRIICCTTIIOONNSS The aaiiooccaanncceell() system call does not cancel asynchronous I/O requests for raw disk devices. The aaiiooccaanncceell() system call will always return AIONOTCANCELED for file descriptors associated with raw disk devices.

RETURN VALUES

The aaiiooccaanncceell() system call returns -1 to indicate an error, or one of

the following: [AIOALLDONE] All of the requests meeting the criteria have finished. [AIOCANCELED] All outstanding requests meeting the criteria specified were cancelled. [AIONOTCANCELED] Some requests were not cancelled, status for the requests should be checked with aioerror(2). EERRRROORRSS An error return from aaiiooccaanncceell() indicates: [EBADF] The fildes argument is not a valid file descriptor.

SEE ALSO

aioerror(2), aioread(2), aioreturn(2), aiosuspend(2), aiowrite(2), aio(4) STANDARDS The aaiiooccaanncceell() system call is expected to conform to the IEEE Std 1003.1 (``POSIX.1'') standard. HISTORY The aaiiooccaanncceell() system call first appeared in FreeBSD 3.0. The first functional implementation of aaiiooccaanncceell() appeared in FreeBSD 4.0. AUTHORS This manual page was originally written by Wes Peters . Christopher M Sedore updated it when aaiiooccaanncceell() was implemented for FreeBSD 4.0. BSD January 19, 2000 BSD




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™