


     lio_listio_X(rt.os/VSRT 5.1.1 (The	Open Grlio_listio_X(rt.os/aio)



     NAME
	  rt.os/aio/lio_listio_X - list	directed I/O testset

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

     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 will	be written as a	result
		 of a call to lio_listio() past	the offset maximum
		 established in	the open file description associated
		 with aiocbp->aio_fildes.

	  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:
		 For regular files no data will	be read	as a result of
		 a call	to lio_listio()	past the offset	maximum
		 established in	the open file description associated
		 with aiocbp->aio_fildes.

     Deviance
	  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:
		 On a call to lio_listio() when	list[n]-
		 >aio_lio_opcode is LIO_WRITE, the file	associated
		 with list[n]->aio_fildes is a regular file, list[n]-
		 >aio_nbytes is	greater	than 0,	and list[n]-
		 >aio_offset is	at the offset maximum established in
		 the open file description associated with list[n]-
		 >aio_fildes the return	status of the asynchronous
		 operation shall be set	to -1 and its error status
		 shall be set to EFBIG.

	  4    If the implementation allows creation of	a file
	       description with	an offset maximum less than the
	       largest size it supports	for an off_t:
		 On a call to lio_listio() when	list[n]-
		 >aio_lio_opcode is LIO_WRITE, the file	associated
		 with list[n]->aio_fildes is a regular file, list[n]-
		 >aio_nbytes is	greater	than 0,	and list[n]-
		 >aio_offset is	beyond the offset maximum established
		 in the	open file description associated with
		 list[n]->aio_fildes the return	status of the
		 asynchronous operation	shall be set to	-1 and its
		 error status shall be set to EFBIG.



     Page 1					    (printed 2/21/103)






     lio_listio_X(rt.os/VSRT 5.1.1 (The	Open Grlio_listio_X(rt.os/aio)



	  5    If the implementation allows creation of	a file
	       description with	an offset maximum less than the
	       largest size it supports	for an off_t:
		 On a call to lio_listio() when	list[n]-
		 >aio_lio_opcode is LIO_READ, the file associated with
		 list[n]->aio_fildes is	a regular file and list[n]-
		 >aio_offset is	before the end-of-file and at the
		 offset	maximum	established in the open	file
		 description associated	with list[n]->aio_fildes the
		 return	status of the asynchronous operation shall be
		 set to	-1 and its error status	shall be set to
		 EOVERFLOW.

	  6    If the implementation allows creation of	a file
	       description with	an offset maximum less than the
	       largest size it supports	for an off_t:
		 On a call to lio_listio() when	list[n]-
		 >aio_lio_opcode is LIO_READ, the file associated with
		 list[n]->aio_fildes is	a regular file and list[n]-
		 >aio_offset is	before the end-of-file and beyond the
		 offset	maximum	established in the open	file
		 description associated	with list[n]->aio_fildes the
		 return	status of the asynchronous operation shall be
		 set to	-1 and its error status	shall be set to
		 EOVERFLOW.

     Notes
	  Tests	must be	run against a file type	which is capable of
	  seeking and for which	the implementation supports the
	  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)



