incubator-nuttx/include/cxx/cwchar

130 lines
3.1 KiB
Plaintext
Raw Normal View History

2015-02-19 20:32:10 +08:00
//***************************************************************************
// include/cxx/cwchar
//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership. The
// ASF licenses this file to you 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
2015-02-19 20:32:10 +08:00
//
// http://www.apache.org/licenses/LICENSE-2.0
2015-02-19 20:32:10 +08:00
//
// 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.
2015-02-19 20:32:10 +08:00
//
//***************************************************************************
#ifndef __INCLUDE_CXX_CWCHAR
#define __INCLUDE_CXX_CWCHAR
//***************************************************************************
// Included Files
//***************************************************************************
#include <nuttx/config.h>
2015-02-19 20:32:10 +08:00
#include <wchar.h>
#include <wctype.h>
#include <stdlib.h>
2015-02-19 20:32:10 +08:00
//***************************************************************************
// Namespace
//***************************************************************************
2015-02-19 23:21:35 +08:00
namespace std
{
using ::mbstate_t;
using ::wint_t;
2017-02-17 23:45:54 +08:00
using ::wctype_t;
2015-02-19 23:21:35 +08:00
using ::size_t;
2017-02-17 23:45:54 +08:00
using ::btowc;
using ::fwprintf;
using ::fwscanf;
using ::iswalnum;
using ::iswalpha;
using ::iswcntrl;
using ::iswdigit;
using ::iswgraph;
using ::iswlower;
using ::iswprint;
using ::iswpunct;
using ::iswspace;
using ::iswupper;
using ::iswxdigit;
using ::iswctype;
using ::fgetwc;
using ::fgetws;
using ::fputwc;
using ::fputws;
using ::fwide;
using ::getwc;
using ::getwchar;
using ::mbsinit;
using ::mbrlen;
using ::mbrtowc;
using ::mbsrtowcs;
using ::mbtowc;
2017-02-17 23:45:54 +08:00
using ::putwc;
using ::putwchar;
using ::swprintf;
using ::swscanf;
using ::towlower;
using ::towupper;
using ::ungetwc;
using ::vfwprintf;
using ::vwprintf;
using ::vswprintf;
using ::wcstold;
2017-02-17 23:45:54 +08:00
using ::wcrtomb;
using ::wcscat;
using ::wcschr;
using ::wcscmp;
using ::wcscoll;
using ::wcscpy;
using ::wcscspn;
using ::wcsftime;
using ::wcslen;
using ::wcslcpy;
using ::wcslcat;
using ::wcsncat;
using ::wcsncmp;
using ::wcsncpy;
using ::wcspbrk;
using ::wcsrchr;
using ::wcsrtombs;
using ::wcsspn;
using ::wcsstr;
#ifdef CONFIG_HAVE_DOUBLE
2017-02-17 23:45:54 +08:00
using ::wcstod;
#endif
2017-03-09 02:47:23 +08:00
using ::wcstof;
2017-02-17 23:45:54 +08:00
using ::wcstok;
using ::wcstol;
#ifdef CONFIG_HAVE_LONG_DOUBLE
using ::wcstold;
#endif
2017-03-09 02:26:35 +08:00
using ::wcstoll;
2017-02-17 23:45:54 +08:00
using ::wcstoul;
2017-03-09 03:28:50 +08:00
using ::wcstoull;
2017-02-17 23:45:54 +08:00
using ::wcswcs;
using ::wcswidth;
using ::wcsxfrm;
using ::wctob;
using ::wctomb;
2017-02-17 23:45:54 +08:00
using ::wctype;
using ::wcwidth;
using ::wmemchr;
using ::wmemcmp;
using ::wmemcpy;
using ::wmemmove;
using ::wmemset;
using ::wprintf;
using ::wscanf;
2015-02-19 23:21:35 +08:00
};
2015-02-19 20:32:10 +08:00
#endif // __INCLUDE_CXX_CWCHAR