Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ acancel(2) — CX/UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

aread(2)

await(2)

awrite(2)

acancel(2)

NAME

acancel − cancel an asynchronous I/O request

SYNOPSIS

int acancel (id)
int id;

DESCRIPTION

Id is an identifier for an asynchronous I/O request obtained from a aread or awrite call.  acancel cancels the specified asynchronous I/O request.  The normal asynchronous I/O completion operations (see aread(2) and awrite(2)) will be performed if the asynchronous I/O request is successfully canceled. 

acancel will fail if one or more of the following are true:

[EINVAL] Id is not an identifier for a pending asynchronous I/O request. 

[ENODEV] The concept of canceling pending I/O requests is not supported for the file. 

[EALREADY] The I/O operation could not be canceled. 

RETURN VALUE

Upon successful completion, a value of 0 is returned to the calling process.  Otherwise, a value of −1 is returned and errno is set to indicate the error. 

SEE ALSO

aread(2), await(2), awrite(2). 

CX/UX Programmer’s Reference Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026