d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git] / libphobos / libdruntime / core / stdc / ctype.d
blob061ea354f1b1ef2b001f957c3657eeebebd9d813
1 /**
2 * D header file for C99.
4 * $(C_HEADER_DESCRIPTION pubs.opengroup.org/onlinepubs/009695399/basedefs/_ctype.h.html, _ctype.h)
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)
15 module core.stdc.ctype;
17 extern (C):
18 @trusted: // All of these operate on integers only.
19 nothrow:
20 @nogc:
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);