Skip to main content

xmlBufferWriteCHAR

Function xmlBufferWriteCHAR 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlBufferWriteCHAR( buf: *mut _xmlBuffer, string: *const xmlChar, )
Expand description

Append a zero-terminated xmlChar string to a buffer.

§UPSTREAM-PARITY

void xmlBufferWriteCHAR(xmlBuffer *buf, const xmlChar *string);

buf.c 2.15: xmlBufferAdd(buf, string, -1), i.e. append the NUL-terminated string; failures are ignored (void return).

§SAFETY

  • buf must be a valid pointer to a _xmlBuffer (or NULL).
  • string must be a valid NUL-terminated xmlChar string (or NULL).