Function gnunet_sys::GNUNET_BIO_write_close [−][src]
pub unsafe extern "C" fn GNUNET_BIO_write_close(
h: *mut GNUNET_BIO_WriteHandle,
emsg: *mut *mut c_char
) -> c_int
Close an IO handle. If the handle was using a file, the file will be closed.
@param h file handle @param emsg set to the (allocated) error message if the handle has an error message, the return value is #GNUNET_SYSERR @return #GNUNET_OK on success, #GNUNET_SYSERR otherwise