mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 16:35:49 +00:00
This really needs to go in a branch. It needs heavy testing and can't coincide with the current shell32 due to PSDK interface changes
svn path=/branches/shell32_new-bringup/; revision=51893
This commit is contained in:
parent
4596e5e59b
commit
4019caae75
23116 changed files with 0 additions and 1109022 deletions
22
lib/sdk/crt/string/atol.c
Normal file
22
lib/sdk/crt/string/atol.c
Normal file
|
@ -0,0 +1,22 @@
|
|||
/* 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue