Topic: errno and stream io


Author: kin@isi.com (Kin Cho)
Date: 8 Oct 1993 22:14:50 GMT
Raw View
I've experimentally determined that some stream io functions (ofstream
constructor, ofstream::write) do set the errno variable when an operation
fails (can't open file, out of space, etc...).

Is it defined anywhere that the stream io functions properly set errno
when an operation fails?

Your help, especially email, is appreciated because it's kind of
urgent that we get assurance on this matter.

--
-kin

Kin Cho, Principal Engineer (408)980-1590 X230 Fax (408)980-0400
Integrated Systems Inc., 3260 Jay Street, Santa Clara, CA  95054