Function gnunet_sys::GNUNET_BIO_flush [−][src]
pub unsafe extern "C" fn GNUNET_BIO_flush(
h: *mut GNUNET_BIO_WriteHandle
) -> c_int
Force a file-based buffered writer to flush its buffer. If the handle does not use a file, this function returns #GNUNET_OK without doing anything.
@param h the IO handle @return #GNUNET_OK upon success. Upon failure #GNUNET_SYSERR is returned and the file is closed