Root/
Source at commit 840 created 13 years 14 days ago. By azimutz, Following r820: - removed a duplicate "execute_hook("Kernel Start"..." - checked and added missing "boot_args/boot_args_pre_lion" stuff - small tweaks to "kDefaultCachePath..." and "gMacOSVersion" - enabled masking out of Pic interrupts on asm.s (thanks to DHP) - comment edits - reverted to XCode 3.2.6 build environment Folder is now on a working state :) | |
---|---|
1 | /*␊ |
2 | * strntoimax.c␊ |
3 | *␊ |
4 | * strntoimax()␊ |
5 | */␊ |
6 | ␊ |
7 | #include <stddef.h>␊ |
8 | #include <inttypes.h>␊ |
9 | ␊ |
10 | extern uintmax_t strntoumax(const char *nptr, char **endptr, int base, size_t n);␊ |
11 | ␊ |
12 | intmax_t strntoimax(const char *nptr, char **endptr, int base, size_t n)␊ |
13 | {␊ |
14 | ␉return (intmax_t) strntoumax(nptr, endptr, base, n);␊ |
15 | }␊ |
16 |