Skip to main content

xmlSaveClose

Function xmlSaveClose 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlSaveClose( ctxt: *mut _xmlSaveCtxt, ) -> c_int
Expand description

int xmlSaveClose(xmlSaveCtxt *ctxt) — flush, close and free the context.

§UPSTREAM-PARITY

Returns the number of bytes written (the flush result), like upstream xmlSaveClose (xmlsave.c 2.15); the underlying output buffer is closed by xmlFreeSaveCtxt.

§SAFETY

  • ctxt must be a valid save context; it is freed by this call.