comparison packages/isoinfra/current/include/ctype.h @ 115:6ed91473a1cd ecos-sw-2000-08-21

Merge from eCos master repository on 2000-08-21-22:40:54-BST
author jlarmour
date Fri, 25 Aug 2000 17:32:38 +0000
parents
children e0c0827131d1
comparison
equal deleted inserted replaced
114:5ad2b71d525e 115:6ed91473a1cd
1 #ifndef CYGONCE_ISO_CTYPE_H
2 #define CYGONCE_ISO_CTYPE_H
3 /*========================================================================
4 //
5 // ctype.h
6 //
7 // ISO ctype functions
8 //
9 //========================================================================
10 //####COPYRIGHTBEGIN####
11 //
12 // -------------------------------------------
13 // The contents of this file are subject to the Red Hat eCos Public License
14 // Version 1.1 (the "License"); you may not use this file except in
15 // compliance with the License. You may obtain a copy of the License at
16 // http://www.redhat.com/
17 //
18 // Software distributed under the License is distributed on an "AS IS"
19 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
20 // License for the specific language governing rights and limitations under
21 // the License.
22 //
23 // The Original Code is eCos - Embedded Configurable Operating System,
24 // released September 30, 1998.
25 //
26 // The Initial Developer of the Original Code is Red Hat.
27 // Portions created by Red Hat are
28 // Copyright (C) 1998, 1999, 2000 Red Hat, Inc.
29 // All Rights Reserved.
30 // -------------------------------------------
31 //
32 //####COPYRIGHTEND####
33 //========================================================================
34 //#####DESCRIPTIONBEGIN####
35 //
36 // Author(s): jlarmour
37 // Contributors:
38 // Date: 2000-04-14
39 // Purpose: This file provides the ctype functions required by
40 // ISO C 9899:1990 and POSIX 1003.1.
41 // Description: The real contents of this file get set from the
42 // configuration (set by the implementation)
43 // Usage: #include <ctype.h>
44 //
45 //####DESCRIPTIONEND####
46 //
47 //======================================================================
48 */
49
50 /* CONFIGURATION */
51
52 #include <pkgconf/isoinfra.h> /* Configuration header */
53
54 /* INCLUDES */
55
56 #if CYGINT_ISO_CTYPE
57 # ifdef CYGBLD_ISO_CTYPE_HEADER
58 # include CYGBLD_ISO_CTYPE_HEADER
59 # else
60
61 #ifdef __cplusplus
62 extern "C" {
63 #endif
64
65 /* FUNCTION PROTOTYPES */
66
67 //=========================================================================*/
68
69 /* 7.3.1 Character testing functions */
70
71 extern int
72 isalnum( int );
73
74 extern int
75 isalpha( int );
76
77 extern int
78 iscntrl( int );
79
80 extern int
81 isdigit( int );
82
83 extern int
84 isgraph( int );
85
86 extern int
87 islower( int );
88
89 extern int
90 isprint( int );
91
92 extern int
93 ispunct( int );
94
95 extern int
96 isspace( int );
97
98 extern int
99 isupper( int );
100
101 extern int
102 isxdigit( int );
103
104 /*=========================================================================*/
105
106 /* 7.3.2 Character case mapping functions */
107
108 extern int
109 tolower( int );
110
111 extern int
112 toupper( int );
113
114 #ifdef __cplusplus
115 } /* extern "C" */
116 #endif
117
118 # endif
119 #endif
120
121 #endif /* CYGONCE_ISO_CTYPE_H multiple inclusion protection */
122
123 /* EOF ctype.h */