[−][src]Function tinyrlibc::itoa
#[no_mangle] pub unsafe extern "C" fn itoa(
i: i64,
s: *mut CChar,
s_len: usize,
radix: u8
) -> i32
Formats the given value i
, with the given radix, into the given buffer (of the given length).
No prefixes (like 0x or 0b) are generated. Only radix values in the range 2..=16 are supported.
Returns the number of bytes written on success (not including the null), or -1 if the buffer wasn't large enough.