MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlTextWriterFlush

Function xmlTextWriterFlush

ThirdParty/libxml2/vtklibxml2/xmlwriter.c:4223–4237  ·  view source on GitHub ↗

* xmlTextWriterFlush: * @writer: the xmlTextWriterPtr * * Flush the output buffer. * * Returns the bytes written (may be 0 because of buffering) or -1 in case of error */

Source from the content-addressed store, hash-verified

4221 * Returns the bytes written (may be 0 because of buffering) or -1 in case of error
4222 */
4223int
4224xmlTextWriterFlush(xmlTextWriterPtr writer)
4225{
4226 int count;
4227
4228 if (writer == NULL)
4229 return -1;
4230
4231 if (writer->out == NULL)
4232 count = 0;
4233 else
4234 count = xmlOutputBufferFlush(writer->out);
4235
4236 return count;
4237}
4238
4239/**
4240 * xmlTextWriterClose:

Callers 1

xmlTextWriterEndDocumentFunction · 0.85

Calls 1

xmlOutputBufferFlushFunction · 0.85

Tested by

no test coverage detected