blob: bbf49845a178f0de8ef06829a2b99c2379616645 [file] [log] [blame]
// -*- C++ -*-
/***************************************************************************
*
* cwctype - C++ Standard library interface to the ANSI C header wctype.h
*
* $Id: //stdlib/dev/include/ansi/_cwctype.h#8 $
*
***************************************************************************
*
* Copyright (c) 1994-2005 Quovadx, Inc., acting through its Rogue Wave
* Software division. Licensed under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0. Unless required by
* applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License
* for the specific language governing permissions and limitations under
* the License.
*
**************************************************************************/
#ifndef _RWSTD_CWCTYPE_H_INCLUDED
#define _RWSTD_CWCTYPE_H_INCLUDED
#include <rw/_defs.h>
_RWSTD_NAMESPACE (std) {
#ifndef WEOF
# define WEOF _RWSTD_WEOF
#endif // WEOF
extern "C" {
#ifdef _RWSTD_WCTRANS_T
typedef _RWSTD_WCTRANS_T wctrans_t;
#else
typedef int wctrans_t;
#endif // _RWSTD_WCTRANS_T
#ifdef _RWSTD_WCTYPE_T
typedef _RWSTD_WCTYPE_T wctype_t;
#else
typedef int wctype_t;
#endif // _RWSTD_WCTYPE_T
#ifdef _RWSTD_WINT_T
typedef _RWSTD_WINT_T wint_t;
#else
typedef long wint_t;
#endif // _RWSTD_WINT_T
int iswalnum (wint_t);
int iswalpha (wint_t);
int iswcntrl (wint_t);
int iswdigit (wint_t);
int iswgraph (wint_t);
int iswlower (wint_t);
int iswprint (wint_t);
int iswpunct (wint_t);
int iswspace (wint_t);
int iswupper (wint_t);
int iswxdigit (wint_t);
wctype_t wctype (const char*);
int iswctype (wint_t, wctype_t);
wint_t towlower (wint_t);
wint_t towupper (wint_t);
wctrans_t wctrans (const char*);
wint_t towctrans (wint_t, wctrans_t);
} // extern "C"
} // namespace std
#endif // _RWSTD_CWCTYPE_H_INCLUDED