ReactOS 0.4.16-dev-2110-ge3521eb
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}
static long double strtold(const char *string, char **endptr)
Definition: stdlib.h:235
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
const WCHAR * str
Definition: pdh_main.c:96

◆ atol()

long CDECL atol ( const char str)

Definition at line 7 of file atol.c.

8{
9 return (long)_atoi64(str);
10}
_ACRTIMP __int64 __cdecl _atoi64(const char *)
Definition: string.c:1757