blob: e97ff3c48876a1a481e4d1ce0f8463175796a8a3 [file] [log] [blame]
Richard Smithceeace92015-10-08 20:36:30 +00001// -*- C++ -*-
2//===---------------------------- ctype.h ---------------------------------===//
3//
4// The LLVM Compiler Infrastructure
5//
6// This file is dual licensed under the MIT and the University of Illinois Open
7// Source Licenses. See LICENSE.TXT for details.
8//
9//===----------------------------------------------------------------------===//
10
11#ifndef _LIBCPP_CTYPE_H
12#define _LIBCPP_CTYPE_H
13
14/*
15 ctype.h synopsis
16
17int isalnum(int c);
18int isalpha(int c);
19int isblank(int c); // C99
20int iscntrl(int c);
21int isdigit(int c);
22int isgraph(int c);
23int islower(int c);
24int isprint(int c);
25int ispunct(int c);
26int isspace(int c);
27int isupper(int c);
28int isxdigit(int c);
29int tolower(int c);
30int toupper(int c);
31*/
32
33#include <__config>
Richard Smithceeace92015-10-08 20:36:30 +000034
35#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
36#pragma GCC system_header
37#endif
38
Richard Smith45bae0b2015-10-09 00:26:50 +000039#include_next <ctype.h>
40
Richard Smithceeace92015-10-08 20:36:30 +000041#ifdef __cplusplus
42
Richard Smithceeace92015-10-08 20:36:30 +000043#undef isalnum
44#undef isalpha
45#undef isblank
46#undef iscntrl
47#undef isdigit
48#undef isgraph
49#undef islower
50#undef isprint
51#undef ispunct
52#undef isspace
53#undef isupper
54#undef isxdigit
55#undef tolower
56#undef toupper
57
58#endif
59
60#endif // _LIBCPP_CTYPE_H