Root/
Source at commit 1164 created 13 years 12 days ago. By azimutz, Add some pauses to nvidia.c and ati.c to help user feedback collection. | |
---|---|
1 | /*␊ |
2 | * atox.c␊ |
3 | *␊ |
4 | * atoi(), atol(), atoll()␊ |
5 | */␊ |
6 | ␊ |
7 | #include <inttypes.h>␊ |
8 | #include <stdlib.h>␊ |
9 | #include <stdio.h>␊ |
10 | ␊ |
11 | extern uintmax_t strntoumax(const char *nptr, char **endptr, int base, size_t n);␊ |
12 | ␊ |
13 | TYPE NAME(const char *nptr)␊ |
14 | {␊ |
15 | ␉return (TYPE) strntoumax(nptr, (char **)NULL, 10, ~(size_t) 0);␊ |
16 | }␊ |
17 |