pub unsafe extern "C" fn tidySaveString(
tdoc: TidyDoc,
buffer: tmbstr,
buflen: *mut uint,
) -> c_int
Expand description
Save the tidy document to an application buffer. If TidyShowMarkup and the document has no errors, or TidyForceOutput, then the current document (per the current configuration) will be pretty printed to this application buffer. The document byte length (not character length) will be placed into *buflen. The document will not be null terminated. If the buffer is not big enough, ENOMEM will be returned, else the actual document status. @result An integer representing the status.