On Sun, 10 Jan 2016 19:55:53 +0100, Ingo Schwarze wrote: > So, my conclusion is that it's the C standard that is carelessly > worded, not POSIX. I don't think the C standard intends to say > that fgetwc(3) and fputwc(3) are not allowed to set the error > indicator on an encoding error, it just doesn't clearly say that > they are required to. POSIX then adds the additional requirement, > merely failing to make it clear that it's resolving a careless > wording in the C standard.
POSIX marks its extensions to ISO C, but this behavior is not documented as an extension. I suggest you contant the Austin group for clarification. - todd
