repo.or.cz
/
newlib-cygwin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git]
/
newlib
/
libc
/
stdlib
/
atol.c
blob
a5c8ee9f404e006ee09f18d9dc9898fa0182d784
1
/*
2
* Andy Wilson, 2-Oct-89.
3
*/
4
5
#include <stdlib.h>
6
#include <_ansi.h>
7
8
#ifndef _REENT_ONLY
9
long
10
atol
(
const char
*
s
)
11
{
12
return
strtol
(
s
,
NULL
,
10
);
13
}
14
#endif
/* !_REENT_ONLY */
15
16
long
17
_atol_r
(
struct
_reent
*
ptr
,
const char
*
s
)
18
{
19
return
_strtol_r
(
ptr
,
s
,
NULL
,
10
);
20
}
21