CUBRID Engine  latest
chartype.h
Go to the documentation of this file.
1 /*
2  * Copyright 2008 Search Solution Corporation
3  * Copyright 2016 CUBRID Corporation
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18 
19 
20 /*
21  * chartype.h : character type checking functions
22  *
23  * Note : Functions defined in "ctypes.h" may work incorrectly
24  * on multi-byte characters.
25  */
26 
27 #ifndef _CHARTYPE_H_
28 #define _CHARTYPE_H_
29 
30 #ident "$Id$"
31 
32 #ifdef __cplusplus
33 extern "C"
34 {
35 #endif
36 
37  extern int char_islower (int c);
38  extern int char_isupper (int c);
39  extern int char_isalpha (int c);
40  extern int char_isdigit (int c);
41  extern int char_isalnum (int c);
42  extern int char_isspace (int c);
43  extern int char_iseol (int c);
44  extern int char_isxdigit (int c);
45 #if defined (ENABLE_UNUSED_FUNCTION)
46  extern int char_isascii (int c);
47 #endif
48 
49  extern int char_tolower (int c);
50  extern int char_toupper (int c);
51 
52  extern int char_isupper_iso8859 (int c);
53  extern int char_islower_iso8859 (int c);
54  extern int char_tolower_iso8859 (int c);
55  extern int char_toupper_iso8859 (int c);
56 
57 #ifdef __cplusplus
58 }
59 #endif
60 
61 #endif /* _CHARTYPE_H_ */
int char_tolower(int c)
Definition: chartype.c:146
int char_isupper_iso8859(int c)
Definition: chartype.c:177
int char_toupper_iso8859(int c)
Definition: chartype.c:211
int char_isalnum(int c)
Definition: chartype.c:97
int char_isspace(int c)
Definition: chartype.c:109
int char_islower_iso8859(int c)
Definition: chartype.c:189
int char_toupper(int c)
Definition: chartype.c:157
int char_iseol(int c)
Definition: chartype.c:121
int char_isalpha(int c)
Definition: chartype.c:61
int char_islower(int c)
Definition: chartype.c:37
int char_tolower_iso8859(int c)
Definition: chartype.c:200
int char_isdigit(int c)
Definition: chartype.c:73
int char_isxdigit(int c)
Definition: chartype.c:85
int char_isupper(int c)
Definition: chartype.c:49