mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-17 04:12:34 +03:00
754f9336f0
git-svn-id: svn://kolibrios.org@4349 a494cfbc-eb01-0410-851d-a64ba20cac60
22 lines
312 B
C
22 lines
312 B
C
/*
|
|
* Andy Wilson, 2-Oct-89.
|
|
*/
|
|
|
|
#include <stdlib.h>
|
|
#include <_ansi.h>
|
|
|
|
#ifndef _REENT_ONLY
|
|
long
|
|
_DEFUN (atol, (s), _CONST char *s)
|
|
{
|
|
return strtol (s, NULL, 10);
|
|
}
|
|
#endif /* !_REENT_ONLY */
|
|
|
|
long
|
|
_DEFUN (_atol_r, (ptr, s), struct _reent *ptr _AND _CONST char *s)
|
|
{
|
|
return _strtol_r (ptr, s, NULL, 10);
|
|
}
|
|
|