mirror of
https://github.com/UzixLS/KernelEx.git
synced 2025-07-19 07:21:20 +03:00
import KernelEx-4.0-RC1
This commit is contained in:
14
kexcrt/atox.c
Normal file
14
kexcrt/atox.c
Normal file
@ -0,0 +1,14 @@
|
||||
/*
|
||||
* atox.c
|
||||
*
|
||||
* atoi(), atol(), atoll()
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
|
||||
TYPE NAME(const char *nptr)
|
||||
{
|
||||
return (TYPE) strntoumax(nptr, (char **)NULL, 10, ~(size_t) 0);
|
||||
}
|
Reference in New Issue
Block a user