summaryrefslogtreecommitdiff
path: root/lib/libc/locale/wcstoimax.c
blob: d46a7c7c41afce5a68ce1a324f2a97566d6b8257 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*	$OpenBSD: wcstoimax.c,v 1.1 2009/01/13 18:13:51 kettenis Exp $	*/
/* $NetBSD: wcstol.c,v 1.2 2003/03/11 09:21:23 tshiozak Exp $ */

#include <ctype.h>
#include <errno.h>
#include <inttypes.h>
#include <stdint.h>
#include <stdlib.h>
#include <wchar.h>
#include <wctype.h>

#include "wctoint.h"

#define	FUNCNAME	wcstoimax
typedef intmax_t	int_type;
#define	MIN_VALUE	INTMAX_MIN
#define	MAX_VALUE	INTMAX_MAX

#include "_wcstol.h"