


     aio_return(rt.os/aiVSRT 5.1.1 (The	Open Grouaio_return(rt.os/aio)



     NAME
	  rt.os/aio/aio_return - retrieve return status	for an
	  Asynchronous I/O request testset

     DESCRIPTION
	  Tests	the aio_return() function for conformance to System
	  Interfaces and Headers, Issue	5 Page:	aio_return().

     TESTS
     Compliance
	  1    If _POSIX_ASYNCHRONOUS_IO is defined or the
	       implementation supports the aio_return()	function as
	       described in System Interfaces and Headers, Issue 5:
		 A call	to aio_return()	when the asynchronous I/O
		 operation associated with the aiocb structure
		 referenced by aiocbp completed	unsuccessfully shall
		 return	-1.

	  2    If _POSIX_ASYNCHRONOUS_IO is defined or the
	       implementation supports the aio_return()	function as
	       described in System Interfaces and Headers, Issue 5:
		 A call	to aio_return()	when the asynchronous I/O
		 operation associated with the aiocb structure
		 referenced by aiocbp completed	successfully shall
		 return	the number of bytes transferred.

     Deviance
	  3    If _POSIX_ASYNCHRONOUS_IO is defined or the
	       implementation supports the aio_return()	function as
	       described in System Interfaces and Headers, Issue 5:
		 A call	to aio_return()	shall return -1	and set	errno
		 to EINVAL if aiocbp does not refer to an operation
		 whose return status has not yet been retrieved.

	  4    If _POSIX_ASYNCHRONOUS_IO is not	defined	and the
	       implementation does not support the aio_return()
	       function	as described in	System Interfaces and Headers,
	       Issue 5:
		 A call	to aio_return()	shall return -1	and set	errno
		 to ENOSYS.

     Notes
	  Tests	will be	run against a file type	for which the
	  implementation supports the necessary	types of Realtime I/O
	  and provides an appropriate file for testing.

	  The existence	of at least such a file	is assumed as a
	  prerequisite in these	tests.

     RELEASE
	  Release VSRT 5.1.1
	  Copyright (c)	1997 X/Open Company Ltd., A member of The Open



     Page 1					    (printed 2/21/103)






     aio_return(rt.os/aiVSRT 5.1.1 (The	Open Grouaio_return(rt.os/aio)



	  Group.
	  All rights reserved





















































     Page 2					    (printed 2/21/103)



