2 //===--------------------------- cinttypes --------------------------------===//
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
10 #ifndef _LIBCPP_CINTTYPES
11 #define _LIBCPP_CINTTYPES
16 This entire header is C99 / C++0X
18 #include <cstdint> // <cinttypes> includes <cstdint>
227 intmax_t imaxabs(intmax_t j);
228 imaxdiv_t imaxdiv(intmax_t numer, intmax_t denom);
229 intmax_t strtoimax(const char* restrict nptr, char** restrict endptr, int base);
230 uintmax_t strtoumax(const char* restrict nptr, char** restrict endptr, int base);
231 intmax_t wcstoimax(const wchar_t* restrict nptr, wchar_t** restrict endptr, int base);
232 uintmax_t wcstoumax(const wchar_t* restrict nptr, wchar_t** restrict endptr, int base);
239 #include <inttypes.h>
241 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
242 #pragma GCC system_header
245 _LIBCPP_BEGIN_NAMESPACE_STD
255 _LIBCPP_END_NAMESPACE_STD
257 #endif // _LIBCPP_CINTTYPES