xref: /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/stdc/ctype.d (revision 0a3071956a3a9fdebdbf7f338cf2d439b45fc728)
1 /**
2  * D header file for C99.
3  *
4  * $(C_HEADER_DESCRIPTION pubs.opengroup.org/onlinepubs/009695399/basedefs/_ctype.h.html, _ctype.h)
5  *
6  * Copyright: Copyright Sean Kelly 2005 - 2009.
7  * License: Distributed under the
8  *      $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
9  *    (See accompanying file LICENSE)
10  * Authors:   Sean Kelly
11  * Source:    $(DRUNTIMESRC core/stdc/_ctype.d)
12  * Standards: ISO/IEC 9899:1999 (E)
13  */
14 
15 module core.stdc.ctype;
16 
17 extern (C):
18 @trusted: // All of these operate on integers only.
19 nothrow:
20 @nogc:
21 
22     ///
23 pure int isalnum(int c);
24 ///
25 pure int isalpha(int c);
26 ///
27 pure int isblank(int c);
28 ///
29 pure int iscntrl(int c);
30 ///
31 pure int isdigit(int c);
32 ///
33 pure int isgraph(int c);
34 ///
35 pure int islower(int c);
36 ///
37 pure int isprint(int c);
38 ///
39 pure int ispunct(int c);
40 ///
41 pure int isspace(int c);
42 ///
43 pure int isupper(int c);
44 ///
45 pure int isxdigit(int c);
46 ///
47 pure int tolower(int c);
48 ///
49 pure int toupper(int c);
50