.
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].
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)".
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:
-----------------------------
None.
_____________________________________________________________________________