Sign in
apache
/
mynewt-documentation
/
94c47ae2bc67c54a68d227abbb47c27ae97cc232
/
.
/
versions
/
v1_4_0
/
mynewt-core
/
libc
/
baselibc
/
src
/
templates
/
atox.c.template
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
);
}