Skip to main content

xmlOutputBufferCreateFile

Function xmlOutputBufferCreateFile 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlOutputBufferCreateFile( file: *mut FILE, encoder: *mut c_void, ) -> *mut _xmlOutputBuffer
Expand description

Create an output buffer writing to a FILE * (upstream xmlOutputBufferCreateFile): the FILE is the I/O context with a write callback wrapping fwrite and a close callback wrapping fflush.

§SAFETY

  • file must be a valid FILE * or NULL.