[][src]Function avr_libc::snprintf

pub unsafe extern "C" fn snprintf(
    __s: *mut i8,
    __n: size_t,
    __fmt: *const i8,
     ...
) -> i16

Like \c sprintf(), but instead of assuming \c s to be of infinite size, no more than \c n characters (including the trailing NUL character) will be converted to \c s.

Returns the number of characters that would have been written to \c s if there were enough space.