aiocancel man page on Solaris

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
Solaris logo
[printable version]

aiocancel(3AIO)	      Asynchronous I/O Library Functions       aiocancel(3AIO)

NAME
       aiocancel - cancel an asynchronous operation

SYNOPSIS
       cc [ flag ... ] file ... -laio [ library ... ]
       #include <sys/asynch.h>

       int aiocancel(aio_result_t *resultp);

DESCRIPTION
       aiocancel()  cancels  the  asynchronous	operation  associated with the
       result buffer pointed to by resultp. It may not be possible to  immedi‐
       ately  cancel  an operation which is in progress and in this case, aio‐
       cancel() will not wait to cancel it.

       Upon successful completion, aiocancel() returns	0  and	the  requested
       operation  is  cancelled.   The	application will not receive the SIGIO
       completion signal for an asynchronous operation	that  is  successfully
       cancelled.

RETURN VALUES
       Upon  successful	 completion, aiocancel() returns 0. Upon failure, aio‐
       cancel() returns −1 and sets errno to indicate the error.

ERRORS
       aiocancel() will fail if any of the following are true:

       EACCES	       The parameter resultp does not correspond to  any  out‐
		       standing	 asynchronous  operation, although there is at
		       least one currently outstanding.

       EFAULT	       resultp points to an address outside the address	 space
		       of the requesting process.  See NOTES.

       EINVAL	       There are not any outstanding requests to cancel.

ATTRIBUTES
       See attributes (5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │MT-Level		     │Safe			   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       aioread(3AIO), aiowait(3AIO), attributes(5)

NOTES
       Passing	an  illegal address as resultp will result in setting errno to
       EFAULT only if it is detected by the application process.

SunOS 5.10			  5 Mar 1997		       aiocancel(3AIO)
[top]

List of man pages available for Solaris

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net