1 /*	$OpenBSD: wcstol.c,v 1.2 2005/08/08 08:05:35 espie Exp $	*/
2 /* $NetBSD: wcstol.c,v 1.2 2003/03/11 09:21:23 tshiozak Exp $ */
3 
4 #include <ctype.h>
5 #include <errno.h>
6 #include <limits.h>
7 #include <stdlib.h>
8 #include <wchar.h>
9 #include <wctype.h>
10 
11 #include "wctoint.h"
12 
13 #define	FUNCNAME	wcstol
14 typedef long int_type;
15 #define	MIN_VALUE	LONG_MIN
16 #define	MAX_VALUE	LONG_MAX
17 
18 #include "_wcstol.h"
19