diff options
Diffstat (limited to 'userland/libc/stdlib/atoll.c')
-rw-r--r-- | userland/libc/stdlib/atoll.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/userland/libc/stdlib/atoll.c b/userland/libc/stdlib/atoll.c new file mode 100644 index 0000000..a7fc26a --- /dev/null +++ b/userland/libc/stdlib/atoll.c @@ -0,0 +1,5 @@ +#include <stdlib.h> + +long long atoll(const char *nptr) { + return strtoll(nptr, (char **)NULL, 10); +} |