


     fsetpos(XPG4.os/strRelease	4.4.1 (UniSoffsetpos(XPG4.os/streamio)



     NAME
	  XPG4.os/streamio/fsetpos - set position of  a	file pointer
	  within a stream testset

     DESCRIPTION
	  Fsetpos tests	the fsetpos() subroutine call interface	for
	  conformance to the XSI System	Interfaces Page:fsetpos()

     TESTS
     Compliance
	  1    A call to fsetpos(stream,pos) sets the file position
	       indicator for stream according to the value of the
	       object pointed to by pos, which is a value obtained
	       from an earlier call to fgetpos on the same stream, and
	       returns a value of zero.

	  2    A successful call to fsetpos() clears the end-of-file
	       indicator for the stream.

	  3    A successful call to fsetpos() undoes any effects of a
	       previous	call to	ungetc on the same stream.

	  4    After a call to fsetpos(), the next operation on	any
	       update stream may be either input or output.

     Deviance
	  5    Fsetpos() returns non-zero and EBADF in errno when
	       stream is unopened.

	  6    Fsetpos() returns non-zero and ESPIPE in	errno when
	       stream is associated with a pipe	or FIFO.

     UNDEFINED ASPECTS
	  None.

     OUTPUTS
     Tests:
	  1-4  Pass/Fail indication only.

	  5-6  Pass/Fail indication - failure information includes
	       expected	and detected return value.

     PROBLEMS/WARNINGS
	  None.

     RELEASE
	  4.4.1	(06/09/97)








     Page 1					    (printed 2/21/103)



