[−][src]Function tinyrlibc::strtol
#[no_mangle] pub unsafe extern "C" fn strtol(s: *const CChar) -> CLong
Rust implementation of C library function strtol
.
Takes a null-terminated string and interprets it as a decimal integer.
This integer is returned as a CLong
. Parsing stops when the first
non-digit ASCII byte is seen. If no valid ASCII digit bytes are seen, this
function returns zero.