1 2 3 4 5 6 7 8
#include "stddef.h" // for NULL #include <stdlib.h> // for strtol, atol long atol(const char *nptr) { return strtol(nptr, (char **)NULL, 10); }