newlib-cygwin/newlib/libc/stdlib/atol.c

13 lines
149 B
C
Raw Normal View History

2000-02-18 03:39:52 +08:00
/*
* Andy Wilson, 2-Oct-89.
*/
#include <stdlib.h>
#include <_ansi.h>
long
_DEFUN (atol, (s), _CONST char *s)
{
return strtol (s, NULL, 10);
}