#include #include "_stdlib.h" /** convert string to long integer **/ long int atol(const char * nptr) { SIGNAL_SAFE(0); return strtol(nptr, (char**)NULL, 10); } /*** converts the string at ARGUMENT(nptr) to a TYPE(long int) value, using base 10. The conversion goes until the first non-digit character. ***/ /* LC_CTYPE RETURN_SUCCESS(the converted value) STDC(1) */