#[unsafe(no_mangle)]pub unsafe extern "C" fn xmlTextWriterClose(
writer: *mut XmlTextWriter,
) -> c_intExpand description
Close the writer’s output buffer. The writer itself is NOT freed (upstream contract: xmlFreeTextWriter does that). Returns XML_ERR_OK (0) on success, XML_ERR_ARGUMENT (9) for a NULL writer or NULL output buffer.
§UPSTREAM-PARITY
int xmlTextWriterClose(xmlTextWriterPtr writer);§SAFETY
writermust be a valid pointer to anXmlTextWriteror NULL.