Thats correct behaviour. If you look at my example you will notice I
purposefully called fflush() and checked its return value too. stdio may
report write errors on the fflush for buffered streams, thats quite allowed.
stderr is unbuffered, stdio is buffered.
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html