reactos/lib/sdk/crt/string/atol.c
Jérôme Gardou 04fa57f360 [CMAKE]
We provide everything (headers, libraries, executables...), so tell it to cmake
[CRT]
The crt library must provide a and w version of the functions and not rely to _UNICODE being set or not

svn path=/branches/cmake-bringup/; revision=51273
2011-04-07 14:11:36 +00:00

22 lines
No EOL
385 B
C

/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include <stdlib.h>
/*
* @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;
}