


     aio_write_X(rt.os/aVSRT 5.1.1 (The	Open Groaio_write_X(rt.os/aio)



     NAME
	  rt.os/aio/aio_write_X	- asynchronous write to	a file testset

     DESCRIPTION
	  Tests	the aio_write()	function for conformance to the	X/Open
	  extensions defined in	System Interfaces and Headers, Issue 5
	  Page:	aio_write().

     TESTS
     Compliance
	  1    If the implementation allows creation of	a file
	       description with	an offset maximum less than the
	       largest size it supports	for an off_t:
		 For regular files no data transfer will occur as a
		 result	of a call to aio_write() past the offset
		 maximum established in	the open file description
		 asociated with	aiocbp->aio_fildes.

     Deviance
	  2    If the implementation allows creation of	a file
	       description with	an offset maximum less than the
	       largest size it supports	for an off_t:
		 When the file associated with aiocbp->aio_fildes is a
		 regular file, aiocbp->aio_nbytes is greater than 0,
		 and aiocbp->aio_offset	is at the offset maximum
		 established in	the open file description asociated
		 with aiocbp->aio_fildes, either:
		   the aio_write() function shall return -1 and	set
		   errno to EFBIG
			   or
		   the return status of	the asynchronous operation
		   shall be set	to -1 and its error status shall be
		   set to EFBIG.

	  3    If the implementation allows creation of	a file
	       description with	an offset maximum less than the
	       largest size it supports	for an off_t:
		 When the file associated with aiocbp->aio_fildes is a
		 regular file, aiocbp->aio_nbytes is greater than 0,
		 and aiocbp->aio_offset	is beyond the offset maximum
		 established in	the open file description asociated
		 with aiocbp->aio_fildes, either:
		   the aio_write() function shall return -1 and	set
		   errno to EFBIG
			   or
		   the return status of	the asynchronous operation
		   shall be set	to -1 and its error status shall be
		   set to EFBIG.

     Notes
	  Tests	must be	run against a file type	which is capable of
	  seeking and for which	the implementation supports the



     Page 1					    (printed 2/21/103)






     aio_write_X(rt.os/aVSRT 5.1.1 (The	Open Groaio_write_X(rt.os/aio)



	  necessary types of Realtime I/O and provides an appropriate
	  file for testing.

	  The existence	of 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)



