


     aio_suspend(rt.os/aVSRT 5.1.1 (The	Open Groaio_suspend(rt.os/aio)



     NAME
	  rt.os/aio/aio_suspend	- wait for an Asynchronous I/O request
	  testset

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

     TESTS
     Compliance
	  1    If _POSIX_ASYNCHRONOUS_IO is defined or the
	       implementation supports the aio_suspend() function as
	       described in System Interfaces and Headers, Issue 5:
		 A call	to aio_suspend() when timeout is NULL shall
		 suspend the calling thread until at least one of the
		 nent asynchronous I/O operations referenced by	list
		 has completed,	unless it is interrupted by a signal,
		 and then return 0.

	  2    If _POSIX_ASYNCHRONOUS_IO is defined or the
	       implementation supports the aio_suspend() function as
	       described in System Interfaces and Headers, Issue 5:
		 A call	to aio_suspend() when timeout is not NULL
		 shall return -1 and set errno to EAGAIN if the	time
		 interval specified in timeout passes before any I/O
		 operations referenced by list complete	and it is not
		 interrupted by	a signal during	this interval.

	  3    If _POSIX_ASYNCHRONOUS_IO is defined or the
	       implementation supports the aio_suspend() function as
	       described in System Interfaces and Headers, Issue 5:
		 A call	to aio_suspend() shall ignore NULL entries in
		 list.

	  4    If _POSIX_ASYNCHRONOUS_IO is defined or the
	       implementation supports the aio_suspend() function as
	       described in System Interfaces and Headers, Issue 5:
		 A call	to aio_suspend() when any of the I/O
		 operations reference by list have already completed
		 shall not suspend the calling thread.

     Deviance
	  5    If _POSIX_ASYNCHRONOUS_IO is defined or the
	       implementation supports the aio_suspend() function as
	       described in System Interfaces and Headers, Issue 5:
		 A call	to aio_suspend() shall return -1 and set errno
		 to EINTR if a signal interrupted the function.

	  6    If _POSIX_ASYNCHRONOUS_IO is not	defined	and the
	       implementation does not support the aio_suspend()
	       function	as described in	System Interfaces and Headers,
	       Issue 5:



     Page 1					    (printed 2/21/103)






     aio_suspend(rt.os/aVSRT 5.1.1 (The	Open Groaio_suspend(rt.os/aio)



		 A call	to aio_suspend() 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
	  Group.
	  All rights reserved







































     Page 2					    (printed 2/21/103)



