/*
 * Derived from:
 * http://www.kernel.org/pub/linux/libs/klibc/
 */
/*
 * atox.c
 *
 * atoi(), atol(), atoll()
 */

#include <inttypes.h>
#include <stdlib.h>
#include <stdio.h>
//#include <wmlibc.h>

TYPE NAME(const char *nptr)
{
    return (TYPE)strntoumax(nptr, (char **)NULL, 10, ~(size_t)0);
}
