ReactOS 0.4.15-dev-8434-g155a7c7
atol.c File Reference
#include <precomp.h>
Include dependency graph for atol.c:

Go to the source code of this file.

Functions

long CDECL atol (const char *str)
 
int CDECL _atoldbl (_LDOUBLE *value, char *str)
 

Function Documentation

◆ _atoldbl()

int CDECL _atoldbl ( _LDOUBLE value,
char str 
)

Definition at line 15 of file atol.c.

16{
17 /* FIXME needs error checking for huge/small values */
18#if 0
19 long double ld;
20 ld = strtold(str,0);
21 memcpy(value, &ld, 10);
22#endif
23 return 0;
24}
long double __cdecl strtold(const char *__restrict__, char **__restrict__)
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
const WCHAR * str
Definition: pdh_main.c:94

◆ atol()

long CDECL atol ( const char str)

Definition at line 7 of file atol.c.

8{
9 return (long)_atoi64(str);
10}
__int64 CDECL _atoi64(const char *nptr)
Definition: atoi64.c:18