Annotation of /trunk/mkinitrd-magellan/klibc/usr/klibc/strtox.c
Parent Directory | Revision Log
Revision 815 -
(hide annotations)
(download)
Fri Apr 24 18:32:46 2009 UTC (15 years ago) by niro
File MIME type: text/plain
File size: 248 byte(s)
Fri Apr 24 18:32:46 2009 UTC (15 years ago) by niro
File MIME type: text/plain
File size: 248 byte(s)
-updated to klibc-1.5.15
1 | niro | 532 | /* |
2 | * strtox.c | ||
3 | * | ||
4 | * strto...() functions, by macro definition | ||
5 | */ | ||
6 | |||
7 | #include <stddef.h> | ||
8 | niro | 815 | #include <stdlib.h> |
9 | niro | 532 | #include <inttypes.h> |
10 | |||
11 | TYPE NAME(const char *nptr, char **endptr, int base) | ||
12 | { | ||
13 | return (TYPE) strntoumax(nptr, endptr, base, ~(size_t) 0); | ||
14 | } |