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

Function xmlSaveFlush

ThirdParty/libxml2/vtklibxml2/xmlsave.c:2210–2216  ·  view source on GitHub ↗

* xmlSaveFlush: * @ctxt: a document saving context * * Flush a document saving context, i.e. make sure that all bytes have * been output. * * Returns the number of byte written or -1 in case of error. */

Source from the content-addressed store, hash-verified

2208 * Returns the number of byte written or -1 in case of error.
2209 */
2210int
2211xmlSaveFlush(xmlSaveCtxtPtr ctxt)
2212{
2213 if (ctxt == NULL) return(-1);
2214 if (ctxt->buf == NULL) return(-1);
2215 return(xmlOutputBufferFlush(ctxt->buf));
2216}
2217
2218/**
2219 * xmlSaveClose:

Callers 2

xmlSaveCloseFunction · 0.85
xmlSaveFinishFunction · 0.85

Calls 1

xmlOutputBufferFlushFunction · 0.85

Tested by

no test coverage detected