PASC Interpretation Ref: pasc-2003.1-07
Topic: fgetc(), _POSIX_JOB_CONTROL & SIGTTIN


This is an unapproved interpretation of PASC P2003.1-1992.

Use of the information contained in this unapproved document is at your own risk.

Last update: 04 September,1996


								2003.1-92  #7

	Classification:  Editorial defect

This will be forwarded to the IEEE for incorporation into a future 
errata sheet for the document, as well as an IEEE interpretations
publication, and will be also made available on-line on the IEEE 
SPAsystem.

 _____________________________________________________________________________


	Interpretation Number:	(to be assigned by the IEEE)
	Topic:			fgetc(), _POSIX_JOB_CONTROL & SIGTTIN
	Relevant sections:	p336n8

Interpretation request
----------------------

       Page 336, lines 592-596:  (PASC ref: 2003.1-93 # 7)


	 08(C) If the behavior associated with {_POSIX_JOB_CONTROL}
	       is supported:
		   When	the process is ignoring	or blocking the
		   SIGTTIN signal and is a member of a background
		   process group, and the stream argument
		   references the controlling terminal,	then a call
		   to fgetc(stream) returns a value of EOF and sets
		   errno to [EIO].

       Also:
	 fgets[8], fread[8], getc[8], getchar[8], gets[8],
       scanf[8-9], fscanf[8-9].

Problem:
       A GTI device is required	to test	these assertions.  See the
       classification of fgetc[9] which	should have the	same
       classification as fgetc[8].

Action:
       Replace in each assertion above "(C)" with
       "(PCTS_GTI_DEVICE?C:UNTESTED)".

IEEE Interpretation for 2003.1-1992
-----------------------------------

The problem and actions statements are accepted as written.
The standard does not completely specify the testing constraints for these
assertions. This is an editorial omission. This will be documented in
an errata for the document and also referred to the
sponsor for clarifying wording in the next amendment, with the suggested
action being the action stated in the original text above.

Rationale for Interpretation:
-----------------------------
None.

 _____________________________________________________________________________