Set the out buffer count to zero on read error.
[wine] / dlls / msvcrtd /
drwxr-xr-x   ..
-rw-r--r-- 44 .cvsignore
-rw-r--r-- 212 Makefile.in
-rw-r--r-- 3538 debug.c
-rw-r--r-- 33691 msvcrtd.spec
drwxr-xr-x - tests