1 /* $NetBSD: wcstoimax.c,v 1.1 2003/03/11 09:21:23 tshiozak Exp $ */ 2 3 #include <sys/cdefs.h> 4 #if defined(LIBC_SCCS) && !defined(lint) 5 __RCSID("$NetBSD: wcstoimax.c,v 1.1 2003/03/11 09:21:23 tshiozak Exp $"); 6 #endif /* LIBC_SCCS and not lint */ 7 8 #include <assert.h> 9 #include <ctype.h> 10 #include <errno.h> 11 #include <inttypes.h> 12 #include <limits.h> 13 #include <stdlib.h> 14 #include <wchar.h> 15 #include <wctype.h> 16 17 #include "__wctoint.h" 18 19 #define _FUNCNAME wcstoimax 20 #define __INT intmax_t 21 #define __INT_MIN INTMAX_MIN 22 #define __INT_MAX INTMAX_MAX 23 24 #include "_wcstol.h" 25