wctype.h revision 76633
176633Stshiozak/*	$NetBSD: wctype.h,v 1.3 2000/12/22 14:16:16 itojun Exp $	*/
276633Stshiozak
376633Stshiozak/*-
476633Stshiozak * Copyright (c)1999 Citrus Project,
576633Stshiozak * All rights reserved.
676633Stshiozak *
776633Stshiozak * Redistribution and use in source and binary forms, with or without
876633Stshiozak * modification, are permitted provided that the following conditions
976633Stshiozak * are met:
1076633Stshiozak * 1. Redistributions of source code must retain the above copyright
1176633Stshiozak *    notice, this list of conditions and the following disclaimer.
1276633Stshiozak * 2. Redistributions in binary form must reproduce the above copyright
1376633Stshiozak *    notice, this list of conditions and the following disclaimer in the
1476633Stshiozak *    documentation and/or other materials provided with the distribution.
1576633Stshiozak *
1676633Stshiozak * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1776633Stshiozak * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1876633Stshiozak * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1976633Stshiozak * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2076633Stshiozak * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2176633Stshiozak * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2276633Stshiozak * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2376633Stshiozak * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2476633Stshiozak * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2576633Stshiozak * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2676633Stshiozak * SUCH DAMAGE.
2776633Stshiozak *
2876633Stshiozak *	citrus Id: wctype.h,v 1.4 2000/12/21 01:50:21 itojun Exp
2976633Stshiozak *
3076633Stshiozak * $FreeBSD: head/include/wctype.h 76633 2001-05-15 19:35:57Z tshiozak $
3176633Stshiozak */
3276633Stshiozak
3376633Stshiozak#ifndef _WCTYPE_H_
3476633Stshiozak#define	_WCTYPE_H_
3576633Stshiozak
3676633Stshiozak#include <sys/cdefs.h>
3776633Stshiozak#include <machine/ansi.h>
3876633Stshiozak
3976633Stshiozak#ifdef	_BSD_WINT_T_
4076633Stshiozaktypedef	_BSD_WINT_T_    wint_t;
4176633Stshiozak#undef	_BSD_WINT_T_
4276633Stshiozak#endif
4376633Stshiozak
4476633Stshiozak#ifndef WEOF
4576633Stshiozak#define	WEOF	((wint_t)-1)
4676633Stshiozak#endif
4776633Stshiozak
4876633Stshiozak__BEGIN_DECLS
4976633Stshiozakint	iswalnum __P((wint_t));
5076633Stshiozakint	iswalpha __P((wint_t));
5176633Stshiozakint	iswblank __P((wint_t));
5276633Stshiozakint	iswcntrl __P((wint_t));
5376633Stshiozakint	iswdigit __P((wint_t));
5476633Stshiozakint	iswgraph __P((wint_t));
5576633Stshiozakint	iswlower __P((wint_t));
5676633Stshiozakint	iswprint __P((wint_t));
5776633Stshiozakint	iswpunct __P((wint_t));
5876633Stshiozakint	iswspace __P((wint_t));
5976633Stshiozakint	iswupper __P((wint_t));
6076633Stshiozakint	iswxdigit __P((wint_t));
6176633Stshiozakwint_t	towlower __P((wint_t));
6276633Stshiozakwint_t	towupper __P((wint_t));
6376633Stshiozak__END_DECLS
6476633Stshiozak
6576633Stshiozak#endif		/* _WCTYPE_H_ */
66