WG15 Defect Report Ref: 13210-07

This is an approved interpretation of 13210:1994.


Last update: 1997-05-20

								13210-92  #7

	Classification:  Editorial defect


	Topic:			fgetc(), _POSIX_JOB_CONTROL & SIGTTIN
	Relevant sections:	p336n8

Interpretation request

       Page 336, lines 592-596:  (WG15 ref: 13210-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].

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

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

       Replace in each assertion above "(C)" with

WG15 response for 13210:1994

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: