[email]no.spamunix.net[/email] (Andrew Josey) writes:
>> How about POSIX and older X/Open standards?
>POSIX.1, 2003 Edition is the same as the latest Single UNIX Specification
>and has it as a mandatory CX extension over ISO C. Its always
>harder to understand the earlier POSIX.1's since they just reference
>the ISO C standard and state that the underlying function is open();
True for many aspects of stdio function behaviour. However, on
the question of whether errno must be set by stdio functions, the
earlier POSIX.1's were crystal clear:
POSIX.1-1990 section 22.214.171.124 Error Reporting
"If any of the functions above return an error ...