Back to index

glibc  2.9
Classes | Defines | Typedefs | Functions
inttypes.h File Reference
#include <features.h>
#include <stdint.h>
#include <stddef.h>

Go to the source code of this file.

Classes

struct  imaxdiv_t

Defines

#define __need_wchar_t
#define ____gwchar_t_defined   1
#define __PRI64_PREFIX   "ll"
#define __PRIPTR_PREFIX
#define PRId8   "d"
#define PRId16   "d"
#define PRId32   "d"
#define PRId64   __PRI64_PREFIX "d"
#define PRIdLEAST8   "d"
#define PRIdLEAST16   "d"
#define PRIdLEAST32   "d"
#define PRIdLEAST64   __PRI64_PREFIX "d"
#define PRIdFAST8   "d"
#define PRIdFAST16   __PRIPTR_PREFIX "d"
#define PRIdFAST32   __PRIPTR_PREFIX "d"
#define PRIdFAST64   __PRI64_PREFIX "d"
#define PRIi8   "i"
#define PRIi16   "i"
#define PRIi32   "i"
#define PRIi64   __PRI64_PREFIX "i"
#define PRIiLEAST8   "i"
#define PRIiLEAST16   "i"
#define PRIiLEAST32   "i"
#define PRIiLEAST64   __PRI64_PREFIX "i"
#define PRIiFAST8   "i"
#define PRIiFAST16   __PRIPTR_PREFIX "i"
#define PRIiFAST32   __PRIPTR_PREFIX "i"
#define PRIiFAST64   __PRI64_PREFIX "i"
#define PRIo8   "o"
#define PRIo16   "o"
#define PRIo32   "o"
#define PRIo64   __PRI64_PREFIX "o"
#define PRIoLEAST8   "o"
#define PRIoLEAST16   "o"
#define PRIoLEAST32   "o"
#define PRIoLEAST64   __PRI64_PREFIX "o"
#define PRIoFAST8   "o"
#define PRIoFAST16   __PRIPTR_PREFIX "o"
#define PRIoFAST32   __PRIPTR_PREFIX "o"
#define PRIoFAST64   __PRI64_PREFIX "o"
#define PRIu8   "u"
#define PRIu16   "u"
#define PRIu32   "u"
#define PRIu64   __PRI64_PREFIX "u"
#define PRIuLEAST8   "u"
#define PRIuLEAST16   "u"
#define PRIuLEAST32   "u"
#define PRIuLEAST64   __PRI64_PREFIX "u"
#define PRIuFAST8   "u"
#define PRIuFAST16   __PRIPTR_PREFIX "u"
#define PRIuFAST32   __PRIPTR_PREFIX "u"
#define PRIuFAST64   __PRI64_PREFIX "u"
#define PRIx8   "x"
#define PRIx16   "x"
#define PRIx32   "x"
#define PRIx64   __PRI64_PREFIX "x"
#define PRIxLEAST8   "x"
#define PRIxLEAST16   "x"
#define PRIxLEAST32   "x"
#define PRIxLEAST64   __PRI64_PREFIX "x"
#define PRIxFAST8   "x"
#define PRIxFAST16   __PRIPTR_PREFIX "x"
#define PRIxFAST32   __PRIPTR_PREFIX "x"
#define PRIxFAST64   __PRI64_PREFIX "x"
#define PRIX8   "X"
#define PRIX16   "X"
#define PRIX32   "X"
#define PRIX64   __PRI64_PREFIX "X"
#define PRIXLEAST8   "X"
#define PRIXLEAST16   "X"
#define PRIXLEAST32   "X"
#define PRIXLEAST64   __PRI64_PREFIX "X"
#define PRIXFAST8   "X"
#define PRIXFAST16   __PRIPTR_PREFIX "X"
#define PRIXFAST32   __PRIPTR_PREFIX "X"
#define PRIXFAST64   __PRI64_PREFIX "X"
#define PRIdMAX   __PRI64_PREFIX "d"
#define PRIiMAX   __PRI64_PREFIX "i"
#define PRIoMAX   __PRI64_PREFIX "o"
#define PRIuMAX   __PRI64_PREFIX "u"
#define PRIxMAX   __PRI64_PREFIX "x"
#define PRIXMAX   __PRI64_PREFIX "X"
#define PRIdPTR   __PRIPTR_PREFIX "d"
#define PRIiPTR   __PRIPTR_PREFIX "i"
#define PRIoPTR   __PRIPTR_PREFIX "o"
#define PRIuPTR   __PRIPTR_PREFIX "u"
#define PRIxPTR   __PRIPTR_PREFIX "x"
#define PRIXPTR   __PRIPTR_PREFIX "X"
#define SCNd8   "hhd"
#define SCNd16   "hd"
#define SCNd32   "d"
#define SCNd64   __PRI64_PREFIX "d"
#define SCNdLEAST8   "hhd"
#define SCNdLEAST16   "hd"
#define SCNdLEAST32   "d"
#define SCNdLEAST64   __PRI64_PREFIX "d"
#define SCNdFAST8   "hhd"
#define SCNdFAST16   __PRIPTR_PREFIX "d"
#define SCNdFAST32   __PRIPTR_PREFIX "d"
#define SCNdFAST64   __PRI64_PREFIX "d"
#define SCNi8   "hhi"
#define SCNi16   "hi"
#define SCNi32   "i"
#define SCNi64   __PRI64_PREFIX "i"
#define SCNiLEAST8   "hhi"
#define SCNiLEAST16   "hi"
#define SCNiLEAST32   "i"
#define SCNiLEAST64   __PRI64_PREFIX "i"
#define SCNiFAST8   "hhi"
#define SCNiFAST16   __PRIPTR_PREFIX "i"
#define SCNiFAST32   __PRIPTR_PREFIX "i"
#define SCNiFAST64   __PRI64_PREFIX "i"
#define SCNu8   "hhu"
#define SCNu16   "hu"
#define SCNu32   "u"
#define SCNu64   __PRI64_PREFIX "u"
#define SCNuLEAST8   "hhu"
#define SCNuLEAST16   "hu"
#define SCNuLEAST32   "u"
#define SCNuLEAST64   __PRI64_PREFIX "u"
#define SCNuFAST8   "hhu"
#define SCNuFAST16   __PRIPTR_PREFIX "u"
#define SCNuFAST32   __PRIPTR_PREFIX "u"
#define SCNuFAST64   __PRI64_PREFIX "u"
#define SCNo8   "hho"
#define SCNo16   "ho"
#define SCNo32   "o"
#define SCNo64   __PRI64_PREFIX "o"
#define SCNoLEAST8   "hho"
#define SCNoLEAST16   "ho"
#define SCNoLEAST32   "o"
#define SCNoLEAST64   __PRI64_PREFIX "o"
#define SCNoFAST8   "hho"
#define SCNoFAST16   __PRIPTR_PREFIX "o"
#define SCNoFAST32   __PRIPTR_PREFIX "o"
#define SCNoFAST64   __PRI64_PREFIX "o"
#define SCNx8   "hhx"
#define SCNx16   "hx"
#define SCNx32   "x"
#define SCNx64   __PRI64_PREFIX "x"
#define SCNxLEAST8   "hhx"
#define SCNxLEAST16   "hx"
#define SCNxLEAST32   "x"
#define SCNxLEAST64   __PRI64_PREFIX "x"
#define SCNxFAST8   "hhx"
#define SCNxFAST16   __PRIPTR_PREFIX "x"
#define SCNxFAST32   __PRIPTR_PREFIX "x"
#define SCNxFAST64   __PRI64_PREFIX "x"
#define SCNdMAX   __PRI64_PREFIX "d"
#define SCNiMAX   __PRI64_PREFIX "i"
#define SCNoMAX   __PRI64_PREFIX "o"
#define SCNuMAX   __PRI64_PREFIX "u"
#define SCNxMAX   __PRI64_PREFIX "x"
#define SCNdPTR   __PRIPTR_PREFIX "d"
#define SCNiPTR   __PRIPTR_PREFIX "i"
#define SCNoPTR   __PRIPTR_PREFIX "o"
#define SCNuPTR   __PRIPTR_PREFIX "u"
#define SCNxPTR   __PRIPTR_PREFIX "x"

Typedefs

typedef wchar_t __gwchar_t

Functions

intmax_t imaxabs (intmax_t __n) __THROW __attribute__((__const__))
imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom) __THROW __attribute__((__const__))
intmax_t strtoimax (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __THROW
uintmax_t strtoumax (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __THROW
intmax_t wcstoimax (__const __gwchar_t *__restrict __nptr, __gwchar_t **__restrict __endptr, int __base) __THROW
uintmax_t wcstoumax (__const __gwchar_t *__restrict __nptr, __gwchar_t **__restrict __endptr, int __base) __THROW

Class Documentation

struct imaxdiv_t

Definition at line 288 of file inttypes.h.

Class Members
long long int quot
long long int rem

Define Documentation

#define ____gwchar_t_defined   1

Definition at line 41 of file inttypes.h.

#define __need_wchar_t

Definition at line 37 of file inttypes.h.

#define __PRI64_PREFIX   "ll"

Definition at line 53 of file inttypes.h.

#define __PRIPTR_PREFIX

Definition at line 54 of file inttypes.h.

#define PRId16   "d"

Definition at line 61 of file inttypes.h.

#define PRId32   "d"

Definition at line 62 of file inttypes.h.

#define PRId64   __PRI64_PREFIX "d"

Definition at line 63 of file inttypes.h.

#define PRId8   "d"

Definition at line 60 of file inttypes.h.

#define PRIdFAST16   __PRIPTR_PREFIX "d"

Definition at line 71 of file inttypes.h.

#define PRIdFAST32   __PRIPTR_PREFIX "d"

Definition at line 72 of file inttypes.h.

#define PRIdFAST64   __PRI64_PREFIX "d"

Definition at line 73 of file inttypes.h.

#define PRIdFAST8   "d"

Definition at line 70 of file inttypes.h.

#define PRIdLEAST16   "d"

Definition at line 66 of file inttypes.h.

#define PRIdLEAST32   "d"

Definition at line 67 of file inttypes.h.

#define PRIdLEAST64   __PRI64_PREFIX "d"

Definition at line 68 of file inttypes.h.

#define PRIdLEAST8   "d"

Definition at line 65 of file inttypes.h.

#define PRIdMAX   __PRI64_PREFIX "d"

Definition at line 157 of file inttypes.h.

#define PRIdPTR   __PRIPTR_PREFIX "d"

Definition at line 166 of file inttypes.h.

#define PRIi16   "i"

Definition at line 77 of file inttypes.h.

#define PRIi32   "i"

Definition at line 78 of file inttypes.h.

#define PRIi64   __PRI64_PREFIX "i"

Definition at line 79 of file inttypes.h.

#define PRIi8   "i"

Definition at line 76 of file inttypes.h.

#define PRIiFAST16   __PRIPTR_PREFIX "i"

Definition at line 87 of file inttypes.h.

#define PRIiFAST32   __PRIPTR_PREFIX "i"

Definition at line 88 of file inttypes.h.

#define PRIiFAST64   __PRI64_PREFIX "i"

Definition at line 89 of file inttypes.h.

#define PRIiFAST8   "i"

Definition at line 86 of file inttypes.h.

#define PRIiLEAST16   "i"

Definition at line 82 of file inttypes.h.

#define PRIiLEAST32   "i"

Definition at line 83 of file inttypes.h.

#define PRIiLEAST64   __PRI64_PREFIX "i"

Definition at line 84 of file inttypes.h.

#define PRIiLEAST8   "i"

Definition at line 81 of file inttypes.h.

#define PRIiMAX   __PRI64_PREFIX "i"

Definition at line 158 of file inttypes.h.

#define PRIiPTR   __PRIPTR_PREFIX "i"

Definition at line 167 of file inttypes.h.

#define PRIo16   "o"

Definition at line 93 of file inttypes.h.

#define PRIo32   "o"

Definition at line 94 of file inttypes.h.

#define PRIo64   __PRI64_PREFIX "o"

Definition at line 95 of file inttypes.h.

#define PRIo8   "o"

Definition at line 92 of file inttypes.h.

#define PRIoFAST16   __PRIPTR_PREFIX "o"

Definition at line 103 of file inttypes.h.

#define PRIoFAST32   __PRIPTR_PREFIX "o"

Definition at line 104 of file inttypes.h.

#define PRIoFAST64   __PRI64_PREFIX "o"

Definition at line 105 of file inttypes.h.

#define PRIoFAST8   "o"

Definition at line 102 of file inttypes.h.

#define PRIoLEAST16   "o"

Definition at line 98 of file inttypes.h.

#define PRIoLEAST32   "o"

Definition at line 99 of file inttypes.h.

#define PRIoLEAST64   __PRI64_PREFIX "o"

Definition at line 100 of file inttypes.h.

#define PRIoLEAST8   "o"

Definition at line 97 of file inttypes.h.

#define PRIoMAX   __PRI64_PREFIX "o"

Definition at line 159 of file inttypes.h.

#define PRIoPTR   __PRIPTR_PREFIX "o"

Definition at line 168 of file inttypes.h.

#define PRIu16   "u"

Definition at line 109 of file inttypes.h.

#define PRIu32   "u"

Definition at line 110 of file inttypes.h.

#define PRIu64   __PRI64_PREFIX "u"

Definition at line 111 of file inttypes.h.

#define PRIu8   "u"

Definition at line 108 of file inttypes.h.

#define PRIuFAST16   __PRIPTR_PREFIX "u"

Definition at line 119 of file inttypes.h.

#define PRIuFAST32   __PRIPTR_PREFIX "u"

Definition at line 120 of file inttypes.h.

#define PRIuFAST64   __PRI64_PREFIX "u"

Definition at line 121 of file inttypes.h.

#define PRIuFAST8   "u"

Definition at line 118 of file inttypes.h.

#define PRIuLEAST16   "u"

Definition at line 114 of file inttypes.h.

#define PRIuLEAST32   "u"

Definition at line 115 of file inttypes.h.

#define PRIuLEAST64   __PRI64_PREFIX "u"

Definition at line 116 of file inttypes.h.

#define PRIuLEAST8   "u"

Definition at line 113 of file inttypes.h.

#define PRIuMAX   __PRI64_PREFIX "u"

Definition at line 160 of file inttypes.h.

#define PRIuPTR   __PRIPTR_PREFIX "u"

Definition at line 169 of file inttypes.h.

#define PRIx16   "x"

Definition at line 125 of file inttypes.h.

#define PRIX16   "X"

Definition at line 141 of file inttypes.h.

#define PRIx32   "x"

Definition at line 126 of file inttypes.h.

#define PRIX32   "X"

Definition at line 142 of file inttypes.h.

#define PRIx64   __PRI64_PREFIX "x"

Definition at line 127 of file inttypes.h.

#define PRIX64   __PRI64_PREFIX "X"

Definition at line 143 of file inttypes.h.

#define PRIx8   "x"

Definition at line 124 of file inttypes.h.

#define PRIX8   "X"

Definition at line 140 of file inttypes.h.

#define PRIxFAST16   __PRIPTR_PREFIX "x"

Definition at line 135 of file inttypes.h.

#define PRIXFAST16   __PRIPTR_PREFIX "X"

Definition at line 151 of file inttypes.h.

#define PRIxFAST32   __PRIPTR_PREFIX "x"

Definition at line 136 of file inttypes.h.

#define PRIXFAST32   __PRIPTR_PREFIX "X"

Definition at line 152 of file inttypes.h.

#define PRIxFAST64   __PRI64_PREFIX "x"

Definition at line 137 of file inttypes.h.

#define PRIXFAST64   __PRI64_PREFIX "X"

Definition at line 153 of file inttypes.h.

#define PRIxFAST8   "x"

Definition at line 134 of file inttypes.h.

#define PRIXFAST8   "X"

Definition at line 150 of file inttypes.h.

#define PRIxLEAST16   "x"

Definition at line 130 of file inttypes.h.

#define PRIXLEAST16   "X"

Definition at line 146 of file inttypes.h.

#define PRIxLEAST32   "x"

Definition at line 131 of file inttypes.h.

#define PRIXLEAST32   "X"

Definition at line 147 of file inttypes.h.

#define PRIxLEAST64   __PRI64_PREFIX "x"

Definition at line 132 of file inttypes.h.

#define PRIXLEAST64   __PRI64_PREFIX "X"

Definition at line 148 of file inttypes.h.

#define PRIxLEAST8   "x"

Definition at line 129 of file inttypes.h.

#define PRIXLEAST8   "X"

Definition at line 145 of file inttypes.h.

#define PRIxMAX   __PRI64_PREFIX "x"

Definition at line 161 of file inttypes.h.

#define PRIXMAX   __PRI64_PREFIX "X"

Definition at line 162 of file inttypes.h.

#define PRIxPTR   __PRIPTR_PREFIX "x"

Definition at line 170 of file inttypes.h.

#define PRIXPTR   __PRIPTR_PREFIX "X"

Definition at line 171 of file inttypes.h.

#define SCNd16   "hd"

Definition at line 178 of file inttypes.h.

#define SCNd32   "d"

Definition at line 179 of file inttypes.h.

#define SCNd64   __PRI64_PREFIX "d"

Definition at line 180 of file inttypes.h.

#define SCNd8   "hhd"

Definition at line 177 of file inttypes.h.

#define SCNdFAST16   __PRIPTR_PREFIX "d"

Definition at line 188 of file inttypes.h.

#define SCNdFAST32   __PRIPTR_PREFIX "d"

Definition at line 189 of file inttypes.h.

#define SCNdFAST64   __PRI64_PREFIX "d"

Definition at line 190 of file inttypes.h.

#define SCNdFAST8   "hhd"

Definition at line 187 of file inttypes.h.

#define SCNdLEAST16   "hd"

Definition at line 183 of file inttypes.h.

#define SCNdLEAST32   "d"

Definition at line 184 of file inttypes.h.

#define SCNdLEAST64   __PRI64_PREFIX "d"

Definition at line 185 of file inttypes.h.

#define SCNdLEAST8   "hhd"

Definition at line 182 of file inttypes.h.

#define SCNdMAX   __PRI64_PREFIX "d"

Definition at line 258 of file inttypes.h.

#define SCNdPTR   __PRIPTR_PREFIX "d"

Definition at line 265 of file inttypes.h.

#define SCNi16   "hi"

Definition at line 194 of file inttypes.h.

#define SCNi32   "i"

Definition at line 195 of file inttypes.h.

#define SCNi64   __PRI64_PREFIX "i"

Definition at line 196 of file inttypes.h.

#define SCNi8   "hhi"

Definition at line 193 of file inttypes.h.

#define SCNiFAST16   __PRIPTR_PREFIX "i"

Definition at line 204 of file inttypes.h.

#define SCNiFAST32   __PRIPTR_PREFIX "i"

Definition at line 205 of file inttypes.h.

#define SCNiFAST64   __PRI64_PREFIX "i"

Definition at line 206 of file inttypes.h.

#define SCNiFAST8   "hhi"

Definition at line 203 of file inttypes.h.

#define SCNiLEAST16   "hi"

Definition at line 199 of file inttypes.h.

#define SCNiLEAST32   "i"

Definition at line 200 of file inttypes.h.

#define SCNiLEAST64   __PRI64_PREFIX "i"

Definition at line 201 of file inttypes.h.

#define SCNiLEAST8   "hhi"

Definition at line 198 of file inttypes.h.

#define SCNiMAX   __PRI64_PREFIX "i"

Definition at line 259 of file inttypes.h.

#define SCNiPTR   __PRIPTR_PREFIX "i"

Definition at line 266 of file inttypes.h.

#define SCNo16   "ho"

Definition at line 226 of file inttypes.h.

#define SCNo32   "o"

Definition at line 227 of file inttypes.h.

#define SCNo64   __PRI64_PREFIX "o"

Definition at line 228 of file inttypes.h.

#define SCNo8   "hho"

Definition at line 225 of file inttypes.h.

#define SCNoFAST16   __PRIPTR_PREFIX "o"

Definition at line 236 of file inttypes.h.

#define SCNoFAST32   __PRIPTR_PREFIX "o"

Definition at line 237 of file inttypes.h.

#define SCNoFAST64   __PRI64_PREFIX "o"

Definition at line 238 of file inttypes.h.

#define SCNoFAST8   "hho"

Definition at line 235 of file inttypes.h.

#define SCNoLEAST16   "ho"

Definition at line 231 of file inttypes.h.

#define SCNoLEAST32   "o"

Definition at line 232 of file inttypes.h.

#define SCNoLEAST64   __PRI64_PREFIX "o"

Definition at line 233 of file inttypes.h.

#define SCNoLEAST8   "hho"

Definition at line 230 of file inttypes.h.

#define SCNoMAX   __PRI64_PREFIX "o"

Definition at line 260 of file inttypes.h.

#define SCNoPTR   __PRIPTR_PREFIX "o"

Definition at line 267 of file inttypes.h.

#define SCNu16   "hu"

Definition at line 210 of file inttypes.h.

#define SCNu32   "u"

Definition at line 211 of file inttypes.h.

#define SCNu64   __PRI64_PREFIX "u"

Definition at line 212 of file inttypes.h.

#define SCNu8   "hhu"

Definition at line 209 of file inttypes.h.

#define SCNuFAST16   __PRIPTR_PREFIX "u"

Definition at line 220 of file inttypes.h.

#define SCNuFAST32   __PRIPTR_PREFIX "u"

Definition at line 221 of file inttypes.h.

#define SCNuFAST64   __PRI64_PREFIX "u"

Definition at line 222 of file inttypes.h.

#define SCNuFAST8   "hhu"

Definition at line 219 of file inttypes.h.

#define SCNuLEAST16   "hu"

Definition at line 215 of file inttypes.h.

#define SCNuLEAST32   "u"

Definition at line 216 of file inttypes.h.

#define SCNuLEAST64   __PRI64_PREFIX "u"

Definition at line 217 of file inttypes.h.

#define SCNuLEAST8   "hhu"

Definition at line 214 of file inttypes.h.

#define SCNuMAX   __PRI64_PREFIX "u"

Definition at line 261 of file inttypes.h.

#define SCNuPTR   __PRIPTR_PREFIX "u"

Definition at line 268 of file inttypes.h.

#define SCNx16   "hx"

Definition at line 242 of file inttypes.h.

#define SCNx32   "x"

Definition at line 243 of file inttypes.h.

#define SCNx64   __PRI64_PREFIX "x"

Definition at line 244 of file inttypes.h.

#define SCNx8   "hhx"

Definition at line 241 of file inttypes.h.

#define SCNxFAST16   __PRIPTR_PREFIX "x"

Definition at line 252 of file inttypes.h.

#define SCNxFAST32   __PRIPTR_PREFIX "x"

Definition at line 253 of file inttypes.h.

#define SCNxFAST64   __PRI64_PREFIX "x"

Definition at line 254 of file inttypes.h.

#define SCNxFAST8   "hhx"

Definition at line 251 of file inttypes.h.

#define SCNxLEAST16   "hx"

Definition at line 247 of file inttypes.h.

#define SCNxLEAST32   "x"

Definition at line 248 of file inttypes.h.

#define SCNxLEAST64   __PRI64_PREFIX "x"

Definition at line 249 of file inttypes.h.

#define SCNxLEAST8   "hhx"

Definition at line 246 of file inttypes.h.

#define SCNxMAX   __PRI64_PREFIX "x"

Definition at line 262 of file inttypes.h.

#define SCNxPTR   __PRIPTR_PREFIX "x"

Definition at line 269 of file inttypes.h.


Typedef Documentation

typedef wchar_t __gwchar_t

Definition at line 39 of file inttypes.h.


Function Documentation

intmax_t imaxabs ( intmax_t  __n) const
imaxdiv_t imaxdiv ( intmax_t  __numer,
intmax_t  __denom 
) const
intmax_t strtoimax ( __const char *__restrict  __nptr,
char **__restrict  __endptr,
int  __base 
)
uintmax_t strtoumax ( __const char *__restrict  __nptr,
char **__restrict  __endptr,
int  __base 
)
intmax_t wcstoimax ( __const __gwchar_t *__restrict  __nptr,
__gwchar_t **__restrict  __endptr,
int  __base 
)
uintmax_t wcstoumax ( __const __gwchar_t *__restrict  __nptr,
__gwchar_t **__restrict  __endptr,
int  __base 
)