Magellan Linux

Contents of /trunk/mkinitrd-magellan/klibc/usr/klibc/strntoimax.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 532 - (show annotations) (download)
Sat Sep 1 22:45:15 2007 UTC (16 years, 9 months ago) by niro
File MIME type: text/plain
File size: 217 byte(s)
-import if magellan mkinitrd; it is a fork of redhats mkinitrd-5.0.8 with all magellan patches and features; deprecates magellan-src/mkinitrd

1 /*
2 * strntoimax.c
3 *
4 * strntoimax()
5 */
6
7 #include <stddef.h>
8 #include <inttypes.h>
9
10 intmax_t strntoimax(const char *nptr, char **endptr, int base, size_t n)
11 {
12 return (intmax_t) strntoumax(nptr, endptr, base, n);
13 }