src/lib/ppc405lib/stdlib.c
/// Convert a string to a long integer - base 10 only
///
/// atol(str) is defined here as strtol(str, 0, 10) in sympathy with the POSIX
/// standard.  Note that by specification "atol() does not detect
/// errors", however here it will behave the same as the strtol() call just
/// mentioned.
Convert a string to a long integer - base 10 only
atol(str) is defined here as strtol(str, 0, 10) in sympathy with the POSIX
standard.  Note that by specification "atol() does not detect
errors", however here it will behave the same as the strtol() call just
mentioned.
Convert a string to a long integer - base 10 only atol ( str ) is defined here as strtol ( str 0 10 ) in sympathy with the POSIX standard . Note that by specification " atol () does not detect errors " however here it will behave the same as the strtol () call just mentioned .
long
atol(const char *str)
{
    return strtol(str, 0, 10);
}
long atol ( const char * str ) { return strtol ( str , 0 , 10 ) ; }
Convert a string to a long integer - base 10 only
atol(str) is defined here as strtol(str, 0, 10) in sympathy with the POSIX
standard.
Convert a string to a long integer - base 10 only atol ( str ) is defined here as strtol ( str 0 10 ) in sympathy with the POSIX standard .