Function gnunet_sys::GNUNET_snprintf[][src]

pub unsafe extern "C" fn GNUNET_snprintf(
    buf: *mut c_char,
    size: usize,
    format: *const c_char,
     ...
) -> c_int

@ingroup memory Like snprintf, just aborts if the buffer is of insufficient size.

@param buf pointer to buffer that is written to @param size number of bytes in @a buf @param format format strings @param … data for format string @return number of bytes written to buf or negative value on error