/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ #include /* * @implemented */ long atol(const char *str) { return (long)_atoi64(str); } long _wtol(const wchar_t *str) { return (long)_wtoi64(str); } int _atoldbl(_LDOUBLE *value, char *str) { /* FIXME needs error checking for huge/small values */ //*value = strtold(str,0); return -1; }