Are you checking the result for write() before you do a flush()? Also, I think that if you try to write zero bytes, it'll give the same error message (ie, you didn't check the result for read() )
__________________ Okay, so I've been gone a while - but hey, meanwhile online translators have gotten better:
Ce n'est pas ma faute. Blâmer vous-même.
----
Ne me blâmez pas. Blâment votre individu. |