Hi Eric, The 'e1' variable is not needed, I think. No standard specifies that errno must be preserved across function calls: - C99 does not mention 'errno' in the description of fflush, - POSIX does, and says in http://www.opengroup.org/susv3/functions/xsh_chap02_03.html that "The value of errno should only be examined when it is indicated to be valid by a function's return value."
Bruno