1227825Stheraven// -*- C++ -*- 2227825Stheraven//===--------------------------- cinttypes --------------------------------===// 3227825Stheraven// 4227825Stheraven// The LLVM Compiler Infrastructure 5227825Stheraven// 6227825Stheraven// This file is distributed under the University of Illinois Open Source 7227825Stheraven// License. See LICENSE.TXT for details. 8227825Stheraven// 9227825Stheraven//===----------------------------------------------------------------------===// 10227825Stheraven 11227825Stheraven#ifndef _LIBCPP_CINTTYPES 12227825Stheraven#define _LIBCPP_CINTTYPES 13227825Stheraven 14227825Stheraven/* 15227825Stheraven cinttypes synopsis 16227825Stheraven 17227825StheravenThis entire header is C99 / C++0X 18227825Stheraven 19227825Stheraven#include <cstdint> // <cinttypes> includes <cstdint> 20227825Stheraven 21227825StheravenMacros: 22227825Stheraven 23227825Stheraven PRId8 24227825Stheraven PRId16 25227825Stheraven PRId32 26227825Stheraven PRId64 27227825Stheraven 28227825Stheraven PRIdLEAST8 29227825Stheraven PRIdLEAST16 30227825Stheraven PRIdLEAST32 31227825Stheraven PRIdLEAST64 32227825Stheraven 33227825Stheraven PRIdFAST8 34227825Stheraven PRIdFAST16 35227825Stheraven PRIdFAST32 36227825Stheraven PRIdFAST64 37227825Stheraven 38227825Stheraven PRIdMAX 39227825Stheraven PRIdPTR 40227825Stheraven 41227825Stheraven PRIi8 42227825Stheraven PRIi16 43227825Stheraven PRIi32 44227825Stheraven PRIi64 45227825Stheraven 46227825Stheraven PRIiLEAST8 47227825Stheraven PRIiLEAST16 48227825Stheraven PRIiLEAST32 49227825Stheraven PRIiLEAST64 50227825Stheraven 51227825Stheraven PRIiFAST8 52227825Stheraven PRIiFAST16 53227825Stheraven PRIiFAST32 54227825Stheraven PRIiFAST64 55227825Stheraven 56227825Stheraven PRIiMAX 57227825Stheraven PRIiPTR 58227825Stheraven 59227825Stheraven PRIo8 60227825Stheraven PRIo16 61227825Stheraven PRIo32 62227825Stheraven PRIo64 63227825Stheraven 64227825Stheraven PRIoLEAST8 65227825Stheraven PRIoLEAST16 66227825Stheraven PRIoLEAST32 67227825Stheraven PRIoLEAST64 68227825Stheraven 69227825Stheraven PRIoFAST8 70227825Stheraven PRIoFAST16 71227825Stheraven PRIoFAST32 72227825Stheraven PRIoFAST64 73227825Stheraven 74227825Stheraven PRIoMAX 75227825Stheraven PRIoPTR 76227825Stheraven 77227825Stheraven PRIu8 78227825Stheraven PRIu16 79227825Stheraven PRIu32 80227825Stheraven PRIu64 81227825Stheraven 82227825Stheraven PRIuLEAST8 83227825Stheraven PRIuLEAST16 84227825Stheraven PRIuLEAST32 85227825Stheraven PRIuLEAST64 86227825Stheraven 87227825Stheraven PRIuFAST8 88227825Stheraven PRIuFAST16 89227825Stheraven PRIuFAST32 90227825Stheraven PRIuFAST64 91227825Stheraven 92227825Stheraven PRIuMAX 93227825Stheraven PRIuPTR 94227825Stheraven 95227825Stheraven PRIx8 96227825Stheraven PRIx16 97227825Stheraven PRIx32 98227825Stheraven PRIx64 99227825Stheraven 100227825Stheraven PRIxLEAST8 101227825Stheraven PRIxLEAST16 102227825Stheraven PRIxLEAST32 103227825Stheraven PRIxLEAST64 104227825Stheraven 105227825Stheraven PRIxFAST8 106227825Stheraven PRIxFAST16 107227825Stheraven PRIxFAST32 108227825Stheraven PRIxFAST64 109227825Stheraven 110227825Stheraven PRIxMAX 111227825Stheraven PRIxPTR 112227825Stheraven 113227825Stheraven PRIX8 114227825Stheraven PRIX16 115227825Stheraven PRIX32 116227825Stheraven PRIX64 117227825Stheraven 118227825Stheraven PRIXLEAST8 119227825Stheraven PRIXLEAST16 120227825Stheraven PRIXLEAST32 121227825Stheraven PRIXLEAST64 122227825Stheraven 123227825Stheraven PRIXFAST8 124227825Stheraven PRIXFAST16 125227825Stheraven PRIXFAST32 126227825Stheraven PRIXFAST64 127227825Stheraven 128227825Stheraven PRIXMAX 129227825Stheraven PRIXPTR 130227825Stheraven 131227825Stheraven SCNd8 132227825Stheraven SCNd16 133227825Stheraven SCNd32 134227825Stheraven SCNd64 135227825Stheraven 136227825Stheraven SCNdLEAST8 137227825Stheraven SCNdLEAST16 138227825Stheraven SCNdLEAST32 139227825Stheraven SCNdLEAST64 140227825Stheraven 141227825Stheraven SCNdFAST8 142227825Stheraven SCNdFAST16 143227825Stheraven SCNdFAST32 144227825Stheraven SCNdFAST64 145227825Stheraven 146227825Stheraven SCNdMAX 147227825Stheraven SCNdPTR 148227825Stheraven 149227825Stheraven SCNi8 150227825Stheraven SCNi16 151227825Stheraven SCNi32 152227825Stheraven SCNi64 153227825Stheraven 154227825Stheraven SCNiLEAST8 155227825Stheraven SCNiLEAST16 156227825Stheraven SCNiLEAST32 157227825Stheraven SCNiLEAST64 158227825Stheraven 159227825Stheraven SCNiFAST8 160227825Stheraven SCNiFAST16 161227825Stheraven SCNiFAST32 162227825Stheraven SCNiFAST64 163227825Stheraven 164227825Stheraven SCNiMAX 165227825Stheraven SCNiPTR 166227825Stheraven 167227825Stheraven SCNo8 168227825Stheraven SCNo16 169227825Stheraven SCNo32 170227825Stheraven SCNo64 171227825Stheraven 172227825Stheraven SCNoLEAST8 173227825Stheraven SCNoLEAST16 174227825Stheraven SCNoLEAST32 175227825Stheraven SCNoLEAST64 176227825Stheraven 177227825Stheraven SCNoFAST8 178227825Stheraven SCNoFAST16 179227825Stheraven SCNoFAST32 180227825Stheraven SCNoFAST64 181227825Stheraven 182227825Stheraven SCNoMAX 183227825Stheraven SCNoPTR 184227825Stheraven 185227825Stheraven SCNu8 186227825Stheraven SCNu16 187227825Stheraven SCNu32 188227825Stheraven SCNu64 189227825Stheraven 190227825Stheraven SCNuLEAST8 191227825Stheraven SCNuLEAST16 192227825Stheraven SCNuLEAST32 193227825Stheraven SCNuLEAST64 194227825Stheraven 195227825Stheraven SCNuFAST8 196227825Stheraven SCNuFAST16 197227825Stheraven SCNuFAST32 198227825Stheraven SCNuFAST64 199227825Stheraven 200227825Stheraven SCNuMAX 201227825Stheraven SCNuPTR 202227825Stheraven 203227825Stheraven SCNx8 204227825Stheraven SCNx16 205227825Stheraven SCNx32 206227825Stheraven SCNx64 207227825Stheraven 208227825Stheraven SCNxLEAST8 209227825Stheraven SCNxLEAST16 210227825Stheraven SCNxLEAST32 211227825Stheraven SCNxLEAST64 212227825Stheraven 213227825Stheraven SCNxFAST8 214227825Stheraven SCNxFAST16 215227825Stheraven SCNxFAST32 216227825Stheraven SCNxFAST64 217227825Stheraven 218227825Stheraven SCNxMAX 219227825Stheraven SCNxPTR 220227825Stheraven 221227825Stheravennamespace std 222227825Stheraven{ 223227825Stheraven 224227825StheravenTypes: 225227825Stheraven 226227825Stheraven imaxdiv_t 227227825Stheraven 228227825Stheravenintmax_t imaxabs(intmax_t j); 229227825Stheravenimaxdiv_t imaxdiv(intmax_t numer, intmax_t denom); 230227825Stheravenintmax_t strtoimax(const char* restrict nptr, char** restrict endptr, int base); 231227825Stheravenuintmax_t strtoumax(const char* restrict nptr, char** restrict endptr, int base); 232227825Stheravenintmax_t wcstoimax(const wchar_t* restrict nptr, wchar_t** restrict endptr, int base); 233227825Stheravenuintmax_t wcstoumax(const wchar_t* restrict nptr, wchar_t** restrict endptr, int base); 234227825Stheraven 235227825Stheraven} // std 236227825Stheraven*/ 237227825Stheraven 238227825Stheraven#include <__config> 239227825Stheraven#include <cstdint> 240227825Stheraven#include <inttypes.h> 241227825Stheraven 242227825Stheraven#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) 243227825Stheraven#pragma GCC system_header 244227825Stheraven#endif 245227825Stheraven 246227825Stheraven_LIBCPP_BEGIN_NAMESPACE_STD 247227825Stheraven 248227825Stheravenusing::imaxdiv_t; 249227825Stheravenusing::imaxabs; 250227825Stheravenusing::imaxdiv; 251227825Stheravenusing::strtoimax; 252227825Stheravenusing::strtoumax; 253227825Stheravenusing::wcstoimax; 254227825Stheravenusing::wcstoumax; 255227825Stheraven 256227825Stheraven_LIBCPP_END_NAMESPACE_STD 257227825Stheraven 258227825Stheraven#endif // _LIBCPP_CINTTYPES 259