wctype.h (231673) | wctype.h (231714) |
---|---|
1/*- 2 * Copyright (c)1999 Citrus Project, 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * 26 * citrus Id: wctype.h,v 1.4 2000/12/21 01:50:21 itojun Exp 27 * $NetBSD: wctype.h,v 1.3 2000/12/22 14:16:16 itojun Exp $ | 1/*- 2 * Copyright (c)1999 Citrus Project, 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * 26 * citrus Id: wctype.h,v 1.4 2000/12/21 01:50:21 itojun Exp 27 * $NetBSD: wctype.h,v 1.3 2000/12/22 14:16:16 itojun Exp $ |
28 * $FreeBSD: head/include/wctype.h 231673 2012-02-14 12:03:23Z theraven $ | 28 * $FreeBSD: head/include/wctype.h 231714 2012-02-14 21:48:46Z dim $ |
29 */ 30 31#ifndef _WCTYPE_H_ 32#define _WCTYPE_H_ 33 34#include <sys/cdefs.h> 35#include <sys/_types.h> 36 --- 45 unchanged lines hidden (view full) --- 82wint_t iswhexnumber(wint_t); 83wint_t iswideogram(wint_t); 84wint_t iswnumber(wint_t); 85wint_t iswphonogram(wint_t); 86wint_t iswrune(wint_t); 87wint_t iswspecial(wint_t); 88wint_t nextwctype(wint_t, wctype_t); 89#endif | 29 */ 30 31#ifndef _WCTYPE_H_ 32#define _WCTYPE_H_ 33 34#include <sys/cdefs.h> 35#include <sys/_types.h> 36 --- 45 unchanged lines hidden (view full) --- 82wint_t iswhexnumber(wint_t); 83wint_t iswideogram(wint_t); 84wint_t iswnumber(wint_t); 85wint_t iswphonogram(wint_t); 86wint_t iswrune(wint_t); 87wint_t iswspecial(wint_t); 88wint_t nextwctype(wint_t, wctype_t); 89#endif |
90 91#if __POSIX_VISIBLE >= 200809 92#define _XLOCALE_WCTYPES 1 93#include <xlocale/_ctype.h> 94#endif /* __POSIX_VISIBLE >= 200809 */ | |
95__END_DECLS 96 97#ifndef __cplusplus 98#define iswalnum(wc) __istype((wc), _CTYPE_A|_CTYPE_D) 99#define iswalpha(wc) __istype((wc), _CTYPE_A) 100#define iswblank(wc) __istype((wc), _CTYPE_B) 101#define iswcntrl(wc) __istype((wc), _CTYPE_C) 102#define iswctype(wc, charclass) __istype((wc), (charclass)) --- 23 unchanged lines hidden --- | 90__END_DECLS 91 92#ifndef __cplusplus 93#define iswalnum(wc) __istype((wc), _CTYPE_A|_CTYPE_D) 94#define iswalpha(wc) __istype((wc), _CTYPE_A) 95#define iswblank(wc) __istype((wc), _CTYPE_B) 96#define iswcntrl(wc) __istype((wc), _CTYPE_C) 97#define iswctype(wc, charclass) __istype((wc), (charclass)) --- 23 unchanged lines hidden --- |