Standard library header <stdint.h> (C99)
From cppreference.net
Cet en-tête fait partie de la bibliothèque de support des types , fournissant les types entiers de largeur fixe et une partie de l'interface des limites numériques .
|
Cette section est incomplète
Raison : 7.22 Types entiers <stdint.h>, copier/partager des parties de c/types/integer et c/types/limits |
Synopsis
|
Cette section est incomplète
Raison : B.21 Types entiers <stdint.h> |
typedef /*type-entier-signé*/ int8_t ; // optionnel typedef /*type-entier-signé*/ int16_t ; // optionnel typedef /*type-entier-signé*/ int32_t ; // optionnel typedef /*type-entier-signé*/ int64_t ; // optionnel typedef /* voir description */ intN_t ; // optionnel, voir description typedef /*type-entier-signé*/ int_fast8_t ; typedef /*type-entier-signé*/ int_fast16_t ; typedef /*type-entier-signé*/ int_fast32_t ; typedef /*type-entier-signé*/ int_fast64_t ; typedef /* voir description */ int_fastN_t ; // optionnel, voir description typedef /*type-entier-signé*/ int_least8_t ; typedef /*type-entier-signé*/ int_least16_t ; typedef /*type-entier-signé*/ int_least32_t ; typedef /*type-entier-signé*/ int_least64_t ; typedef /* voir description */ int_leastN_t ; // optionnel, voir description typedef /*type-entier-signé*/ intmax_t ; typedef /*type-entier-signé*/ intptr_t ; // optionnel typedef /*type-entier-non-signé*/ uint8_t ; // optionnel typedef /*type-entier-non-signé*/ uint16_t ; // optionnel typedef /*type-entier-non-signé*/ uint32_t ; // optionnel typedef /*type-entier-non-signé*/ uint64_t ; // optionnel typedef /* voir description */ uintN_t ; // optionnel, voir description typedef /*type-entier-non-signé*/ uint_fast8_t ; typedef /*type-entier-non-signé*/ uint_fast16_t ; typedef /*type-entier-non-signé*/ uint_fast32_t ; typedef /*type-entier-non-signé*/ uint_fast64_t ; typedef /* voir description */ uint_fastN_t ; // optionnel, voir description typedef /*type-entier-non-signé*/ uint_least8_t ; typedef /*type-entier-non-signé*/ uint_least16_t ; typedef /*type-entier-non-signé*/ uint_least32_t ; typedef /*type-entier-non-signé*/ uint_least64_t ; typedef /* voir description */ uint_leastN_t ; // optionnel, voir description typedef /*type-entier-non-signé*/ uintmax_t ; typedef /*type-entier-non-signé*/ uintptr_t ; // optionnel #define INTN_MIN /* voir description */ #define INTN_MAX /* voir description */ #define UINTN_MAX /* voir description */ #define INT_FASTN_MIN /* voir description */ #define INT_FASTN_MAX /* voir description */ #define UINT_FASTN_MAX /* voir description */ #define INT_LEASTN_MIN /* voir description */ #define INT_LEASTN_MAX /* voir description */ #define UINT_LEASTN_MAX /* voir description */ #define INTMAX_MIN /* voir description */ #define INTMAX_MAX /* voir description */ #define UINTMAX_MAX /* voir description */ #define INTPTR_MIN /* voir description */ // optionnel #define INTPTR_MAX /* voir description */ // optionnel #define UINTPTR_MAX /* voir description */ // optionnel #define PTRDIFF_MIN /* voir description */ #define PTRDIFF_MAX /* voir description */ #define SIZE_MAX /* voir description */ #define SIG_ATOMIC_MIN /* voir description */ #define SIG_ATOMIC_MAX /* voir description */ #define WCHAR_MIN /* voir description */ #define WCHAR_MAX /* voir description */ #define WINT_MIN /* voir description */ #define WINT_MAX /* voir description */ #define INTN_C(value) /* voir description */ #define UINTN_C(value) /* voir description */ #define INTMAX_C(value) /* voir description */ #define UINTMAX_C(value) /* voir description */
Seulement si l'implémentation définit
__STDC_LIB_EXT1__
et que le code utilisateur définit
__STDC_WANT_LIB_EXT1__
avant toute inclusion de
stdint.h
:
#if defined(__STDC_WANT_LIB_EXT1__) #define RSIZE_MAX /* voir description */ #endif