Last change
on this file since 577 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
275 bytes
|
Line | |
---|
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 | |
---|
Note: See
TracBrowser
for help on using the repository browser.