Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
bwh
/
klibc
/
eee0fa5c2f3f1c9f4c0d3a3cf66ea5d5aff6aa80
/
.
/
usr
/
klibc
/
atox.c
blob: c013bb47618ce69036dad14e3a62c33b6c81a08d [
file
] [
log
] [
blame
]
/*
* atox.c
*
* atoi(), atol(), atoll()
*/
#include
<inttypes.h>
#include
<stdlib.h>
#include
<stdio.h>
TYPE NAME
(
const
char
*
nptr
)
{
return
(
TYPE
)
strntoumax
(
nptr
,
(
char
**)
NULL
,
10
,
~(
size_t
)
0
);
}