P
Piotr
How to handle "lack of disk space" during the ostream::write() function. As
far as I know
the is ios::rdstate() function which returns 4-bit state flag:
badbit (critical error in stream buffer)
eofbit (End-Of-File reached while extracting)
failbit (failure extracting from stream)
goodbit (no error condition, represents the absence of the above bits)
but I would like to know if there was not enough free disk space to perform
the
ostream::write() operation.
How can I get that information ?
thank you
far as I know
the is ios::rdstate() function which returns 4-bit state flag:
badbit (critical error in stream buffer)
eofbit (End-Of-File reached while extracting)
failbit (failure extracting from stream)
goodbit (no error condition, represents the absence of the above bits)
but I would like to know if there was not enough free disk space to perform
the
ostream::write() operation.
How can I get that information ?
thank you