pspsdk-1.0+beta2
ctype.h
Go to the documentation of this file.
1 /*
2  * PSP Software Development Kit - http://www.pspdev.org
3  * -----------------------------------------------------------------------
4  * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5  *
6  * ctype.h
7  *
8  * Copyright (c) 2002-2004 PS2DEV
9  * Copyright (c) 2005 Marcus R. Brown <mrbrown@ocgnet.org>
10  * Copyright (c) 2005 James Forshaw <tyranid@gmail.com>
11  * Copyright (c) 2005 John Kelley <ps2dev@kelley.ca>
12  *
13  * $Id: ctype.h 1095 2005-09-27 21:02:16Z jim $
14  */
15 
16 #ifndef __CTYPE_H__
17 #define __CTYPE_H__
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23 int isalnum(int);
24 int isalpha(int);
25 int iscntrl(int);
26 int isdigit(int);
27 int isgraph(int);
28 int islower(int);
29 int isprint(int);
30 int ispunct(int);
31 int isspace(int);
32 int isupper(int);
33 int isxdigit(int);
34 int tolower(int);
35 int toupper(int);
36 
37 #ifdef __cplusplus
38 }
39 
40 
41 /* To be compatible with C++'s ctype_base.h */
42 
43 namespace std {
44  enum {
45  _U = 01,
46  _L = 02,
47  _N = 04,
48  _S = 010,
49  _P = 020,
50  _C = 040,
51  _X = 0100,
52  _B = 0200
53  };
54 };
55 #endif
56 
57 #endif