Function gnunet_sys::GNUNET_BIO_write_string[][src]

pub unsafe extern "C" fn GNUNET_BIO_write_string(
    h: *mut GNUNET_BIO_WriteHandle,
    what: *const c_char,
    s: *const c_char
) -> c_int

Write a 0-terminated string.

@param h the IO handle to write to @param what what is being written (for error message creation) @param s string to write (can be NULL) @return #GNUNET_OK on success, #GNUNET_SYSERR on error