1/*	$OpenBSD: wcstoimax.c,v 1.1 2009/01/13 18:13:51 kettenis 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 <inttypes.h>
7#include <stdint.h>
8#include <stdlib.h>
9#include <wchar.h>
10#include <wctype.h>
11
12#include "wctoint.h"
13
14#define	FUNCNAME	wcstoimax
15typedef intmax_t	int_type;
16#define	MIN_VALUE	INTMAX_MIN
17#define	MAX_VALUE	INTMAX_MAX
18
19#include "_wcstol.h"
20