2015-02-19 20:32:10 +08:00
|
|
|
//***************************************************************************
|
|
|
|
// include/cxx/cwchar
|
|
|
|
//
|
2021-02-03 18:33:49 +08:00
|
|
|
// 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
|
|
|
//
|
2021-02-03 18:33:49 +08:00
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
2015-02-19 20:32:10 +08:00
|
|
|
//
|
2021-02-03 18:33:49 +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
|
|
|
|
//***************************************************************************
|
|
|
|
|
2017-10-01 05:28:04 +08:00
|
|
|
#include <nuttx/config.h>
|
|
|
|
|
2015-02-19 20:32:10 +08:00
|
|
|
#include <wchar.h>
|
2020-05-29 14:45:09 +08:00
|
|
|
#include <wctype.h>
|
2017-03-09 02:16:56 +08:00
|
|
|
#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;
|
2017-03-09 02:16:56 +08:00
|
|
|
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;
|
2017-03-27 23:49:44 +08:00
|
|
|
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;
|
2017-10-01 05:28:04 +08:00
|
|
|
#ifdef CONFIG_HAVE_DOUBLE
|
2017-02-17 23:45:54 +08:00
|
|
|
using ::wcstod;
|
2017-10-01 05:28:04 +08:00
|
|
|
#endif
|
2017-03-09 02:47:23 +08:00
|
|
|
using ::wcstof;
|
2017-02-17 23:45:54 +08:00
|
|
|
using ::wcstok;
|
|
|
|
using ::wcstol;
|
2017-10-01 05:28:04 +08:00
|
|
|
#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;
|
2017-03-09 02:16:56 +08:00
|
|
|
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
|