custom message type for VM_INFO
[minix3.git] / lib / libminc / strtol.c
blob155c78f3660f7da9c4e5c4ce3bb9d2dc11f2e92f
1 /* Adapted from common/lib/libc/stdlib/strtoul.c */
2 #include <sys/cdefs.h>
4 #include <sys/param.h>
5 #include <lib/libkern/libkern.h>
6 #include <lib/libsa/stand.h>
8 #define _FUNCNAME strtol
9 #define __INT long
10 #define __INT_MIN LONG_MIN
11 #define __INT_MAX LONG_MAX
13 long strtol(const char * __restrict, char ** __restrict, int);
15 #include "_strtol.h"