I wrote: > Now I see what you mean: we depend on things not specified > in C++11, so that our program is clearly a C++11 program. is *not* a C++11 program, because in C++11 stdio.h is either not guaranteed or forbidden to provide fileno() -- I am not sure which. I beg your pardon for abusing e-mail as a chat. I will be more careful.