#[unsafe(no_mangle)]pub unsafe extern "C" fn xmlSaveClose(
ctxt: *mut _xmlSaveCtxt,
) -> c_intExpand 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
ctxtmust be a valid save context; it is freed by this call.