mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-15 18:50:12 +03:00
15 lines
208 B
C
15 lines
208 B
C
/*
|
|
* 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);
|
|
}
|