[xml] how to tell if xmlSaveFormatFile did not save entire doc?
- From: "Daithi O'Cuinn" <docuinn gmail com>
- To: xml gnome org
- Subject: [xml] how to tell if xmlSaveFormatFile did not save entire doc?
- Date: Wed, 31 Mar 2010 15:28:38 +0100
Hi there,
I am using xmlSaveFormatFile to save documents to disk and have come
across the situation where docs are being truncated due to disk space
running out.
I want to be able to detect this condition, but I cannot see a way of
checking that the bytes written return code of the function is less
than the total document size. Can I find out what the expected size
was, or detect this failure by other means?
Thanks,
Daithi.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]