2007-03-14 20:24:57 +00:00
|
|
|
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @implemented
|
|
|
|
*/
|
2011-05-13 20:21:58 +00:00
|
|
|
long atol(const char *str)
|
2007-03-14 20:24:57 +00:00
|
|
|
{
|
2011-05-13 20:21:58 +00:00
|
|
|
return (long)_atoi64(str);
|
|
|
|
}
|
|
|
|
|
|
|
|
long _wtol(const wchar_t *str)
|
|
|
|
{
|
|
|
|
return (long)_wtoi64(str);
|
2007-03-14 20:24:57 +00:00
|
|
|
}
|
2008-05-28 21:08:23 +00:00
|
|
|
|
2008-12-13 21:28:05 +00:00
|
|
|
int _atoldbl(_LDOUBLE *value, char *str)
|
2008-05-28 21:08:23 +00:00
|
|
|
{
|
|
|
|
/* FIXME needs error checking for huge/small values */
|
|
|
|
//*value = strtold(str,0);
|
2008-12-13 21:28:05 +00:00
|
|
|
return -1;
|
2011-05-13 20:21:58 +00:00
|
|
|
}
|