tumbledemerald-legacy/agbcc/libc/stdlib/atol.c
2022-05-19 17:14:13 +00:00

13 lines
149 B
C

/*
* Andy Wilson, 2-Oct-89.
*/
#include <stdlib.h>
#include <_ansi.h>
long
_DEFUN (atol, (s), _CONST char *s)
{
return strtol (s, NULL, 10);
}