ctype.h (231673) | ctype.h (231714) |
---|---|
1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 21 unchanged lines hidden (view full) --- 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * 37 * @(#)ctype.h 8.4 (Berkeley) 1/21/94 | 1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 21 unchanged lines hidden (view full) --- 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * 37 * @(#)ctype.h 8.4 (Berkeley) 1/21/94 |
38 * $FreeBSD: head/include/ctype.h 231673 2012-02-14 12:03:23Z theraven $ | 38 * $FreeBSD: head/include/ctype.h 231714 2012-02-14 21:48:46Z dim $ |
39 */ 40 41#ifndef _CTYPE_H_ 42#define _CTYPE_H_ 43 44#include <sys/cdefs.h> 45#include <sys/_types.h> 46#include <_ctype.h> --- 26 unchanged lines hidden (view full) --- 73int digittoint(int); 74int ishexnumber(int); 75int isideogram(int); 76int isnumber(int); 77int isphonogram(int); 78int isrune(int); 79int isspecial(int); 80#endif | 39 */ 40 41#ifndef _CTYPE_H_ 42#define _CTYPE_H_ 43 44#include <sys/cdefs.h> 45#include <sys/_types.h> 46#include <_ctype.h> --- 26 unchanged lines hidden (view full) --- 73int digittoint(int); 74int ishexnumber(int); 75int isideogram(int); 76int isnumber(int); 77int isphonogram(int); 78int isrune(int); 79int isspecial(int); 80#endif |
81 82#if __POSIX_VISIBLE >= 200809 83#include <xlocale/_ctype.h> 84#endif | |
85__END_DECLS 86 87#ifndef __cplusplus 88#define isalnum(c) __sbistype((c), _CTYPE_A|_CTYPE_D) 89#define isalpha(c) __sbistype((c), _CTYPE_A) 90#define iscntrl(c) __sbistype((c), _CTYPE_C) 91#define isdigit(c) __isctype((c), _CTYPE_D) /* ANSI -- locale independent */ 92#define isgraph(c) __sbistype((c), _CTYPE_G) --- 43 unchanged lines hidden --- | 81__END_DECLS 82 83#ifndef __cplusplus 84#define isalnum(c) __sbistype((c), _CTYPE_A|_CTYPE_D) 85#define isalpha(c) __sbistype((c), _CTYPE_A) 86#define iscntrl(c) __sbistype((c), _CTYPE_C) 87#define isdigit(c) __isctype((c), _CTYPE_D) /* ANSI -- locale independent */ 88#define isgraph(c) __sbistype((c), _CTYPE_G) --- 43 unchanged lines hidden --- |