Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libc / stdlib / atol.c
bloba5c8ee9f404e006ee09f18d9dc9898fa0182d784
1 /*
2 * Andy Wilson, 2-Oct-89.
3 */
5 #include <stdlib.h>
6 #include <_ansi.h>
8 #ifndef _REENT_ONLY
9 long
10 atol (const char *s)
12 return strtol (s, NULL, 10);
14 #endif /* !_REENT_ONLY */
16 long
17 _atol_r (struct _reent *ptr, const char *s)
19 return _strtol_r (ptr, s, NULL, 10);