Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      Standard library header <stdint.h> (C99)

      From cppreference.com
      <c‎ |header
       
       
       

      This header is part oftypes support library, providingfixed width integer types and a part ofnumeric limits interface.

      This section is incomplete
      Reason: 7.22 Integer types <stdint.h>, copy/share parts ofc/types/integer andc/types/limits

      [edit]Synopsis

      This section is incomplete
      Reason: B.21 Integer types <stdint.h>
      typedef/*signed-integer-type*/int8_t;// optionaltypedef/*signed-integer-type*/int16_t;// optionaltypedef/*signed-integer-type*/int32_t;// optionaltypedef/*signed-integer-type*/int64_t;// optionaltypedef/* see description */       intN_t;// optional, see description typedef/*signed-integer-type*/int_fast8_t;typedef/*signed-integer-type*/int_fast16_t;typedef/*signed-integer-type*/int_fast32_t;typedef/*signed-integer-type*/int_fast64_t;typedef/* see description */       int_fastN_t;// optional, see description typedef/*signed-integer-type*/int_least8_t;typedef/*signed-integer-type*/int_least16_t;typedef/*signed-integer-type*/int_least32_t;typedef/*signed-integer-type*/int_least64_t;typedef/* see description */       int_leastN_t;// optional, see description typedef/*signed-integer-type*/intmax_t;typedef/*signed-integer-type*/intptr_t;// optional typedef/*unsigned-integer-type*/uint8_t;// optionaltypedef/*unsigned-integer-type*/uint16_t;// optionaltypedef/*unsigned-integer-type*/uint32_t;// optionaltypedef/*unsigned-integer-type*/uint64_t;// optionaltypedef/* see description */       uintN_t;// optional, see description typedef/*unsigned-integer-type*/uint_fast8_t;typedef/*unsigned-integer-type*/uint_fast16_t;typedef/*unsigned-integer-type*/uint_fast32_t;typedef/*unsigned-integer-type*/uint_fast64_t;typedef/* see description */       uint_fastN_t;// optional, see description typedef/*unsigned-integer-type*/uint_least8_t;typedef/*unsigned-integer-type*/uint_least16_t;typedef/*unsigned-integer-type*/uint_least32_t;typedef/*unsigned-integer-type*/uint_least64_t;typedef/* see description */       uint_leastN_t;// optional, see description typedef/*unsigned-integer-type*/uintmax_t;typedef/*unsigned-integer-type*/uintptr_t;// optional #define INTN_MIN         /* see description */#define INTN_MAX         /* see description */#define UINTN_MAX        /* see description */ #define INT_FASTN_MIN    /* see description */#define INT_FASTN_MAX    /* see description */#define UINT_FASTN_MAX   /* see description */ #define INT_LEASTN_MIN   /* see description */#define INT_LEASTN_MAX   /* see description */#define UINT_LEASTN_MAX  /* see description */ #define INTMAX_MIN       /* see description */#define INTMAX_MAX       /* see description */#define UINTMAX_MAX      /* see description */ #define INTPTR_MIN       /* see description */        // optional#define INTPTR_MAX       /* see description */        // optional#define UINTPTR_MAX      /* see description */        // optional #define PTRDIFF_MIN      /* see description */#define PTRDIFF_MAX      /* see description */#define SIZE_MAX         /* see description */ #define SIG_ATOMIC_MIN   /* see description */#define SIG_ATOMIC_MAX   /* see description */ #define WCHAR_MIN        /* see description */#define WCHAR_MAX        /* see description */ #define WINT_MIN         /* see description */#define WINT_MAX         /* see description */ #define INTN_C(value)    /* see description */#define UINTN_C(value)   /* see description */#define INTMAX_C(value)  /* see description */#define UINTMAX_C(value) /* see description */

      Only if the implementation defines__STDC_LIB_EXT1__ and additionally the usercode defines__STDC_WANT_LIB_EXT1__ before any inclusion ofstdint.h:

      #if defined(__STDC_WANT_LIB_EXT1__)#define RSIZE_MAX /* see description */#endif
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=c/header/stdint&oldid=180202"

      [8]ページ先頭

      ©2009-2025 Movatter.jp