2010-05-12 03:42:16 +08:00
|
|
|
// -*- C++ -*-
|
|
|
|
//===---------------------------- cctype ----------------------------------===//
|
|
|
|
//
|
2010-05-12 05:36:01 +08:00
|
|
|
// The LLVM Compiler Infrastructure
|
2010-05-12 03:42:16 +08:00
|
|
|
//
|
2010-11-17 06:09:02 +08:00
|
|
|
// This file is dual licensed under the MIT and the University of Illinois Open
|
|
|
|
// Source Licenses. See LICENSE.TXT for details.
|
2010-05-12 03:42:16 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef _LIBCPP_CCTYPE
|
|
|
|
#define _LIBCPP_CCTYPE
|
|
|
|
|
|
|
|
/*
|
|
|
|
cctype synopsis
|
|
|
|
|
|
|
|
namespace std
|
|
|
|
{
|
|
|
|
|
|
|
|
int isalnum(int c);
|
|
|
|
int isalpha(int c);
|
|
|
|
int isblank(int c); // C99
|
|
|
|
int iscntrl(int c);
|
|
|
|
int isdigit(int c);
|
|
|
|
int isgraph(int c);
|
|
|
|
int islower(int c);
|
|
|
|
int isprint(int c);
|
|
|
|
int ispunct(int c);
|
|
|
|
int isspace(int c);
|
|
|
|
int isupper(int c);
|
|
|
|
int isxdigit(int c);
|
|
|
|
int tolower(int c);
|
|
|
|
int toupper(int c);
|
|
|
|
|
|
|
|
} // std
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <__config>
|
|
|
|
#include <ctype.h>
|
|
|
|
|
2011-10-18 04:05:10 +08:00
|
|
|
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
2010-05-12 03:42:16 +08:00
|
|
|
#pragma GCC system_header
|
2011-10-18 04:05:10 +08:00
|
|
|
#endif
|
2010-05-12 03:42:16 +08:00
|
|
|
|
|
|
|
_LIBCPP_BEGIN_NAMESPACE_STD
|
|
|
|
|
|
|
|
using ::isalnum;
|
|
|
|
using ::isalpha;
|
|
|
|
using ::isblank;
|
|
|
|
using ::iscntrl;
|
|
|
|
using ::isdigit;
|
|
|
|
using ::isgraph;
|
|
|
|
using ::islower;
|
|
|
|
using ::isprint;
|
|
|
|
using ::ispunct;
|
|
|
|
using ::isspace;
|
|
|
|
using ::isupper;
|
|
|
|
using ::isxdigit;
|
|
|
|
using ::tolower;
|
|
|
|
using ::toupper;
|
|
|
|
|
|
|
|
_LIBCPP_END_NAMESPACE_STD
|
|
|
|
|
|
|
|
#endif // _LIBCPP_CCTYPE
|