mirror of
https://github.com/ivoszbg/uniLoader.git
synced 2024-11-25 13:40:08 +00:00
a1be36ae02
Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
22 lines
275 B
C
22 lines
275 B
C
/*
|
|
* Andy Wilson, 2-Oct-89.
|
|
*/
|
|
|
|
#include <stdlib.h>
|
|
#include <_ansi.h>
|
|
|
|
#ifndef _REENT_ONLY
|
|
long
|
|
atol (const char *s)
|
|
{
|
|
return strtol (s, NULL, 10);
|
|
}
|
|
#endif /* !_REENT_ONLY */
|
|
|
|
long
|
|
_atol_r (struct _reent *ptr, const char *s)
|
|
{
|
|
return _strtol_r (ptr, s, NULL, 10);
|
|
}
|
|
|