xref: /netbsd-src/lib/libc/locale/wcstoul.c (revision 1ffa7b76c40339c17a0fb2a09fac93f287cfc046)
1 /*	$NetBSD: wcstoul.c,v 1.2 2003/03/11 09:21:24 tshiozak Exp $	*/
2 
3 #include <sys/cdefs.h>
4 #if defined(LIBC_SCCS) && !defined(lint)
5 __RCSID("$NetBSD: wcstoul.c,v 1.2 2003/03/11 09:21:24 tshiozak Exp $");
6 #endif /* LIBC_SCCS and not lint */
7 
8 #include <assert.h>
9 #include <ctype.h>
10 #include <errno.h>
11 #include <limits.h>
12 #include <stdlib.h>
13 #include <wchar.h>
14 #include <wctype.h>
15 
16 #include "__wctoint.h"
17 
18 #define	_FUNCNAME	wcstoul
19 #define	__UINT		unsigned long
20 #define	__UINT_MAX	ULONG_MAX
21 
22 #include "_wcstoul.h"
23