ReactOS  0.4.15-dev-2993-g14fbe80
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 }
Definition: pdh_main.c:93
const WCHAR * str
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
long double __cdecl strtold(const char *__restrict__, char **__restrict__)

◆ atol()

long CDECL atol ( const char str)

Definition at line 7 of file atol.c.

8 {
9  return (long)_atoi64(str);
10 }
__MINGW_EXTENSION _Check_return_ _CRTIMP __int64 __cdecl _atoi64(_In_z_ const char *_String)
const WCHAR * str