


     fgetpos(XPG4.os/strRelease	4.4.1 (UniSoffgetpos(XPG4.os/streamio)



     NAME
	  XPG4.os/streamio/fgetpos - obtain position of	 a file
	  pointer within a stream testset

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

     TESTS
     Compliance
	  1    fgetpos(stream,pos) stores the current value of the
	       file position indicator for stream in to	object pointed
	       to by pos and returns a value of	zero.

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

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

     UNDEFINED ASPECTS
	  None.

     OUTPUTS
     Tests:
	  1    Pass/Fail indication only.

	  2-3  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)



