Function gnunet_sys::GNUNET_BIO_write[][src]

pub unsafe extern "C" fn GNUNET_BIO_write(
    h: *mut GNUNET_BIO_WriteHandle,
    what: *const c_char,
    buffer: *const c_void,
    n: usize
) -> c_int

Write a buffer to a handle.

@param h the IO handle to write to @param what what is being written (for error message creation) @param buffer the data to write @param n number of bytes to write @return #GNUNET_OK on success, #GNUNET_SYSERR on error