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