The <inttypes.h> Header File

C99 standard header file containing string constants usable in format arguments to printf-type and scanf-type functions, for printing and scanning the portable integer types defined in stdint.h.

Constants

PRId8
Format specifier for printing an integer of type int8_t or uint8_t as a signed decimal integer.
PRId16
Format specifier for printing an integer of type int16_t or uint16_t as a signed decimal integer.
PRId32
Format specifier for printing an integer of type int32_t or uint32_t as a signed decimal integer.
PRIdFAST8
Format specifier for printing an integer of type int_fast8_t or uint_fast8_t as a signed decimal integer.
PRIdFAST16
Format specifier for printing an integer of type int_fast16_t or uint_fast16_t as a signed decimal integer.
PRIdFAST32
Format specifier for printing an integer of type int_fast32_t or uint_fast32_t as a signed decimal integer.
PRIdLEAST8
Format specifier for printing an integer of type int_least8_t or uint_least8_t as a signed decimal integer.
PRIdLEAST16
Format specifier for printing an integer of type int_least16_t or uint_least16_t as a signed decimal integer.
PRIdLEAST32
Format specifier for printing an integer of type int_least32_t or uint_least32_t as a signed decimal integer.
PRIdPTR
Format specifier for printing an integer of type intptr_t or uintptr_t as a signed decimal integer.
PRIi8
Format specifier for printing an integer of type int8_t or uint8_t as a signed decimal integer.
PRIi16
Format specifier for printing an integer of type int16_t or uint16_t as a signed decimal integer.
PRIi32
Format specifier for printing an integer of type int32_t or uint32_t as a signed decimal integer.
PRIiFAST8
Format specifier for printing an integer of type int_fast8_t or uint_fast8_t as a signed decimal integer.
PRIiFAST16
Format specifier for printing an integer of type int_fast16_t or uint_fast16_t as a signed decimal integer.
PRIiFAST32
Format specifier for printing an integer of type int_fast32_t or uint_fast32_t as a signed decimal integer.
PRIiLEAST8
Format specifier for printing an integer of type int_least8_t or uint_least8_t as a signed decimal integer.
PRIiLEAST16
Format specifier for printing an integer of type int_least16_t or uint_least16_t as a signed decimal integer.
PRIiLEAST32
Format specifier for printing an integer of type int_least32_t or uint_least32_t as a signed decimal integer.
PRIiPTR
Format specifier for printing an integer of type intptr_t or uintptr_t as a signed decimal integer.
PRIu8
Format specifier for printing an integer of type int8_t or uint8_t as an unsigned decimal integer.
PRIu16
Format specifier for printing an integer of type int16_t or uint16_t as an unsigned decimal integer.
PRIu32
Format specifier for printing an integer of type int32_t or uint32_t as an unsigned decimal integer.
PRIuFAST8
Format specifier for printing an integer of type int_fast8_t or uint_fast8_t as an unsigned decimal integer.
PRIuFAST16
Format specifier for printing an integer of type int_fast16_t or uint_fast16_t as an unsigned decimal integer.
PRIuFAST32
Format specifier for printing an integer of type int_fast32_t or uint_fast32_t as an unsigned decimal integer.
PRIuLEAST8
Format specifier for printing an integer of type int_least8_t or uint_least8_t as an unsigned decimal integer.
PRIuLEAST16
Format specifier for printing an integer of type int_least16_t or uint_least16_t as an unsigned decimal integer.
PRIuLEAST32
Format specifier for printing an integer of type int_least32_t or uint_least32_t as an unsigned decimal integer.
PRIuPTR
Format specifier for printing an integer of type intptr_t or uintptr_t as an unsigned decimal integer.
PRIx8
Format specifier for printing an integer of type int8_t or uint8_t as an unsigned hexadecimal (lowercase) integer.
PRIX8
Format specifier for printing an integer of type int8_t or uint8_t as an unsigned hexadecimal (uppercase) integer.
PRIx16
Format specifier for printing an integer of type int16_t or uint16_t as an unsigned hexadecimal (lowercase) integer.
PRIX16
Format specifier for printing an integer of type int16_t or uint16_t as an unsigned hexadecimal (uppercase) integer.
PRIx32
Format specifier for printing an integer of type int32_t or uint32_t as an unsigned hexadecimal (lowercase) integer.
PRIX32
Format specifier for printing an integer of type int32_t or uint32_t as an unsigned hexadecimal (uppercase) integer.
PRIxFAST8
Format specifier for printing an integer of type int_fast8_t or uint_fast8_t as an unsigned hexadecimal (lowercase) integer.
PRIXFAST8
Format specifier for printing an integer of type int_fast8_t or uint_fast8_t as an unsigned hexadecimal (uppercase) integer.
PRIxFAST16
Format specifier for printing an integer of type int_fast16_t or uint_fast16_t as an unsigned hexadecimal (lowercase) integer.
PRIXFAST16
Format specifier for printing an integer of type int_fast16_t or uint_fast16_t as an unsigned hexadecimal (uppercase) integer.
PRIxFAST32
Format specifier for printing an integer of type int_fast32_t or uint_fast32_t as an unsigned hexadecimal (lowercase) integer.
PRIXFAST32
Format specifier for printing an integer of type int_fast32_t or uint_fast32_t as an unsigned hexadecimal (uppercase) integer.
PRIxLEAST8
Format specifier for printing an integer of type int_least8_t or uint_least8_t as an unsigned hexadecimal (lowercase) integer.
PRIXLEAST8
Format specifier for printing an integer of type int_least8_t or uint_least8_t as an unsigned hexadecimal (uppercase) integer.
PRIxLEAST16
Format specifier for printing an integer of type int_least16_t or uint_least16_t as an unsigned hexadecimal (lowercase) integer.
PRIXLEAST16
Format specifier for printing an integer of type int_least16_t or uint_least16_t as an unsigned hexadecimal (uppercase) integer.
PRIxLEAST32
Format specifier for printing an integer of type int_least32_t or uint_least32_t as an unsigned hexadecimal (lowercase) integer.
PRIXLEAST32
Format specifier for printing an integer of type int_least32_t or uint_least32_t as an unsigned hexadecimal (uppercase) integer.
PRIxPTR
Format specifier for printing an integer of type intptr_t or uintptr_t as an unsigned hexadecimal (lowercase) integer.
PRIXPTR
Format specifier for printing an integer of type intptr_t or uintptr_t as an unsigned hexadecimal (uppercase) integer.
SCNd8
Format specifier for scanning an integer of type int8_t or uint8_t written as a signed decimal integer.
SCNd16
Format specifier for scanning an integer of type int16_t or uint16_t written as a signed decimal integer.
SCNd32
Format specifier for scanning an integer of type int32_t or uint32_t written as a signed decimal integer.
SCNdFAST8
Format specifier for scanning an integer of type int_fast8_t or uint_fast8_t written as a signed decimal integer.
SCNdFAST16
Format specifier for scanning an integer of type int_fast16_t or uint_fast16_t written as a signed decimal integer.
SCNdFAST32
Format specifier for scanning an integer of type int_fast32_t or uint_fast32_t written as a signed decimal integer.
SCNdLEAST8
Format specifier for scanning an integer of type int_least8_t or uint_least8_t written as a signed decimal integer.
SCNdLEAST16
Format specifier for scanning an integer of type int_least16_t or uint_least16_t written as a signed decimal integer.
SCNdLEAST32
Format specifier for scanning an integer of type int_least32_t or uint_least32_t written as a signed decimal integer.
SCNdPTR
Format specifier for scanning an integer of type intptr_t or uintptr_t written as a signed decimal integer.
SCNi8
Format specifier for scanning an integer of type int8_t or uint8_t written as a signed decimal integer.
SCNi16
Format specifier for scanning an integer of type int16_t or uint16_t written as a signed decimal integer.
SCNi32
Format specifier for scanning an integer of type int32_t or uint32_t written as a signed decimal integer.
SCNiFAST8
Format specifier for scanning an integer of type int_fast8_t or uint_fast8_t written as a signed decimal integer.
SCNiFAST16
Format specifier for scanning an integer of type int_fast16_t or uint_fast16_t written as a signed decimal integer.
SCNiFAST32
Format specifier for scanning an integer of type int_fast32_t or uint_fast32_t written as a signed decimal integer.
SCNiLEAST8
Format specifier for scanning an integer of type int_least8_t or uint_least8_t written as a signed decimal integer.
SCNiLEAST16
Format specifier for scanning an integer of type int_least16_t or uint_least16_t written as a signed decimal integer.
SCNiLEAST32
Format specifier for scanning an integer of type int_least32_t or uint_least32_t written as a signed decimal integer.
SCNiPTR
Format specifier for scanning an integer of type intptr_t or uintptr_t written as a signed decimal integer.
SCNu8
Format specifier for scanning an integer of type int8_t or uint8_t written as an unsigned decimal integer.
SCNu16
Format specifier for scanning an integer of type int16_t or uint16_t written as an unsigned decimal integer.
SCNu32
Format specifier for scanning an integer of type int32_t or uint32_t written as an unsigned decimal integer.
SCNuFAST8
Format specifier for scanning an integer of type int_fast8_t or uint_fast8_t written as an unsigned decimal integer.
SCNuFAST16
Format specifier for scanning an integer of type int_fast16_t or uint_fast16_t written as an unsigned decimal integer.
SCNuFAST32
Format specifier for scanning an integer of type int_fast32_t or uint_fast32_t written as an unsigned decimal integer.
SCNuLEAST8
Format specifier for scanning an integer of type int_least8_t or uint_least8_t written as an unsigned decimal integer.
SCNuLEAST16
Format specifier for scanning an integer of type int_least16_t or uint_least16_t written as an unsigned decimal integer.
SCNuLEAST32
Format specifier for scanning an integer of type int_least32_t or uint_least32_t written as an unsigned decimal integer.
SCNuPTR
Format specifier for scanning an integer of type intptr_t or uintptr_t written as an unsigned decimal integer.
SCNx8
Format specifier for scanning an integer of type int8_t or uint8_t written as an unsigned hexadecimal (lowercase) integer.
SCNx16
Format specifier for scanning an integer of type int16_t or uint16_t written as an unsigned hexadecimal (lowercase) integer.
SCNx32
Format specifier for scanning an integer of type int32_t or uint32_t written as an unsigned hexadecimal (lowercase) integer.
SCNxFAST8
Format specifier for scanning an integer of type int_fast8_t or uint_fast8_t written as an unsigned hexadecimal (lowercase) integer.
SCNxFAST16
Format specifier for scanning an integer of type int_fast16_t or uint_fast16_t written as an unsigned hexadecimal (lowercase) integer.
SCNxFAST32
Format specifier for scanning an integer of type int_fast32_t or uint_fast32_t written as an unsigned hexadecimal (lowercase) integer.
SCNxLEAST8
Format specifier for scanning an integer of type int_least8_t or uint_least8_t written as an unsigned hexadecimal (lowercase) integer.
SCNxLEAST16
Format specifier for scanning an integer of type int_least16_t or uint_least16_t written as an unsigned hexadecimal (lowercase) integer.
SCNxLEAST32
Format specifier for scanning an integer of type int_least32_t or uint_least32_t written as an unsigned hexadecimal (lowercase) integer.
SCNxPTR
Format specifier for scanning an integer of type intptr_t or uintptr_t written as an unsigned hexadecimal (lowercase) integer.

This header file contains some of the definitions mandated in Paragraph 7.8 of the ANSI/ISO C99 standard.
Since the long long type is unhandled by printf and scanf, the definitions corresponding to 64-bit types, including intmax_t and uintmax_t, are omitted from this header. The octal format specifiers are omitted as well.


PRId8

#define PRId8 "hd"

Format specifier for printing an integer of type int8_t or uint8_t as a signed decimal integer.

This definition is the same as PRIi8. Definition mandated by the C99 standard.


PRId16

#define PRId16 "hd"

Format specifier for printing an integer of type int16_t or uint16_t as a signed decimal integer.

This definition is the same as PRIi16. Definition mandated by the C99 standard.


PRId32

#define PRId32 "ld"

Format specifier for printing an integer of type int32_t or uint32_t as a signed decimal integer.

This definition is the same as PRIi32. Definition mandated by the C99 standard.


PRIdFAST8

#define PRIdFAST8 "hd"

Format specifier for printing an integer of type int_fast8_t or uint_fast8_t as a signed decimal integer.

This definition is the same as PRIiFAST8. Definition mandated by the C99 standard.


PRIdFAST16

#define PRIdFAST16 "hd"

Format specifier for printing an integer of type int_fast16_t or uint_fast16_t as a signed decimal integer.

This definition is the same as PRIiFAST16. Definition mandated by the C99 standard.


PRIdFAST32

#define PRIdFAST32 "ld"

Format specifier for printing an integer of type int_fast32_t or uint_fast32_t as a signed decimal integer.

This definition is the same as PRIiFAST32. Definition mandated by the C99 standard.


PRIdLEAST8

#define PRIdLEAST8 "hd"

Format specifier for printing an integer of type int_least8_t or uint_least8_t as a signed decimal integer.

This definition is the same as PRIiLEAST8. Definition mandated by the C99 standard.


PRIdLEAST16

#define PRIdLEAST16 "hd"

Format specifier for printing an integer of type int_least16_t or uint_least16_t as a signed decimal integer.

This definition is the same as PRIiLEAST16. Definition mandated by the C99 standard.


PRIdLEAST32

#define PRIdLEAST32 "ld"

Format specifier for printing an integer of type int_least32_t or uint_least32_t as a signed decimal integer.

This definition is the same as PRIiLEAST32. Definition mandated by the C99 standard.


PRIdPTR

#define PRIdPTR "ld"

Format specifier for printing an integer of type intptr_t or uintptr_t as a signed decimal integer.

This definition is the same as PRIiPTR. Definition mandated by the C99 standard.


PRIi8

#define PRIi8 "hi"

Format specifier for printing an integer of type int8_t or uint8_t as a signed decimal integer.

This definition is the same as PRId8. Definition mandated by the C99 standard.


PRIi16

#define PRIi16 "hi"

Format specifier for printing an integer of type int16_t or uint16_t as a signed decimal integer.

This definition is the same as PRId16. Definition mandated by the C99 standard.


PRIi32

#define PRIi32 "li"

Format specifier for printing an integer of type int32_t or uint32_t as a signed decimal integer.

This definition is the same as PRId32. Definition mandated by the C99 standard.


PRIiFAST8

#define PRIiFAST8 "hi"

Format specifier for printing an integer of type int_fast8_t or uint_fast8_t as a signed decimal integer.

This definition is the same as PRIdFAST8. Definition mandated by the C99 standard.


PRIiFAST16

#define PRIiFAST16 "hi"

Format specifier for printing an integer of type int_fast16_t or uint_fast16_t as a signed decimal integer.

This definition is the same as PRIdFAST16. Definition mandated by the C99 standard.


PRIiFAST32

#define PRIiFAST32 "li"

Format specifier for printing an integer of type int_fast32_t or uint_fast32_t as a signed decimal integer.

This definition is the same as PRIdFAST32. Definition mandated by the C99 standard.


PRIiLEAST8

#define PRIiLEAST8 "hi"

Format specifier for printing an integer of type int_least8_t or uint_least8_t as a signed decimal integer.

This definition is the same as PRIdLEAST8. Definition mandated by the C99 standard.


PRIiLEAST16

#define PRIiLEAST16 "hi"

Format specifier for printing an integer of type int_least16_t or uint_least16_t as a signed decimal integer.

This definition is the same as PRIdLEAST16. Definition mandated by the C99 standard.


PRIiLEAST32

#define PRIiLEAST32 "li"

Format specifier for printing an integer of type int_least32_t or uint_least32_t as a signed decimal integer.

This definition is the same as PRIdLEAST32. Definition mandated by the C99 standard.


PRIiPTR

#define PRIiPTR "li"

Format specifier for printing an integer of type intptr_t or uintptr_t as a signed decimal integer.

This definition is the same as PRIdPTR. Definition mandated by the C99 standard.


PRIu8

#define PRIu8 "hu"

Format specifier for printing an integer of type int8_t or uint8_t as an unsigned decimal integer.

Definition mandated by the C99 standard.


PRIu16

#define PRIu16 "hu"

Format specifier for printing an integer of type int16_t or uint16_t as an unsigned decimal integer.

Definition mandated by the C99 standard.


PRIu32

#define PRIu32 "lu"

Format specifier for printing an integer of type int32_t or uint32_t as an unsigned decimal integer.

Definition mandated by the C99 standard.


PRIuFAST8

#define PRIuFAST8 "hu"

Format specifier for printing an integer of type int_fast8_t or uint_fast8_t as an unsigned decimal integer.

Definition mandated by the C99 standard.


PRIuFAST16

#define PRIuFAST16 "hu"

Format specifier for printing an integer of type int_fast16_t or uint_fast16_t as an unsigned decimal integer.

Definition mandated by the C99 standard.


PRIuFAST32

#define PRIuFAST32 "lu"

Format specifier for printing an integer of type int_fast32_t or uint_fast32_t as an unsigned decimal integer.

Definition mandated by the C99 standard.


PRIuLEAST8

#define PRIuLEAST8 "hu"

Format specifier for printing an integer of type int_least8_t or uint_least8_t as an unsigned decimal integer.

Definition mandated by the C99 standard.


PRIuLEAST16

#define PRIuLEAST16 "hu"

Format specifier for printing an integer of type int_least16_t or uint_least16_t as an unsigned decimal integer.

Definition mandated by the C99 standard.


PRIuLEAST32

#define PRIuLEAST32 "lu"

Format specifier for printing an integer of type int_least32_t or uint_least32_t as an unsigned decimal integer.

Definition mandated by the C99 standard.


PRIuPTR

#define PRIuPTR "lu"

Format specifier for printing an integer of type intptr_t or uintptr_t as an unsigned decimal integer.

Definition mandated by the C99 standard.


PRIx8

#define PRIx8 "hx"

Format specifier for printing an integer of type int8_t or uint8_t as an unsigned hexadecimal (lowercase) integer.

Definition mandated by the C99 standard.


PRIX8

#define PRIX8 "hX"

Format specifier for printing an integer of type int8_t or uint8_t as an unsigned hexadecimal (uppercase) integer.

Definition mandated by the C99 standard.


PRIx16

#define PRIx16 "hx"

Format specifier for printing an integer of type int16_t or uint16_t as an unsigned hexadecimal (lowercase) integer.

Definition mandated by the C99 standard.


PRIX16

#define PRIX16 "hX"

Format specifier for printing an integer of type int16_t or uint16_t as an unsigned hexadecimal (uppercase) integer.

Definition mandated by the C99 standard.


PRIx32

#define PRIx32 "lx"

Format specifier for printing an integer of type int32_t or uint32_t as an unsigned hexadecimal (lowercase) integer.

Definition mandated by the C99 standard.


PRIX32

#define PRIX32 "lX"

Format specifier for printing an integer of type int32_t or uint32_t as an unsigned hexadecimal (uppercase) integer.

Definition mandated by the C99 standard.


PRIxFAST8

#define PRIxFAST8 "hx"

Format specifier for printing an integer of type int_fast8_t or uint_fast8_t as an unsigned hexadecimal (lowercase) integer.

Definition mandated by the C99 standard.


PRIXFAST8

#define PRIXFAST8 "hX"

Format specifier for printing an integer of type int_fast8_t or uint_fast8_t as an unsigned hexadecimal (uppercase) integer.

Definition mandated by the C99 standard.


PRIxFAST16

#define PRIxFAST16 "hx"

Format specifier for printing an integer of type int_fast16_t or uint_fast16_t as an unsigned hexadecimal (lowercase) integer.

Definition mandated by the C99 standard.


PRIXFAST16

#define PRIXFAST16 "hX"

Format specifier for printing an integer of type int_fast16_t or uint_fast16_t as an unsigned hexadecimal (uppercase) integer.

Definition mandated by the C99 standard.


PRIxFAST32

#define PRIxFAST32 "lx"

Format specifier for printing an integer of type int_fast32_t or uint_fast32_t as an unsigned hexadecimal (lowercase) integer.

Definition mandated by the C99 standard.


PRIXFAST32

#define PRIXFAST32 "lX"

Format specifier for printing an integer of type int_fast32_t or uint_fast32_t as an unsigned hexadecimal (uppercase) integer.

Definition mandated by the C99 standard.


PRIxLEAST8

#define PRIxLEAST8 "hx"

Format specifier for printing an integer of type int_least8_t or uint_least8_t as an unsigned hexadecimal (lowercase) integer.

Definition mandated by the C99 standard.


PRIXLEAST8

#define PRIXLEAST8 "hX"

Format specifier for printing an integer of type int_least8_t or uint_least8_t as an unsigned hexadecimal (uppercase) integer.

Definition mandated by the C99 standard.


PRIxLEAST16

#define PRIxLEAST16 "hx"

Format specifier for printing an integer of type int_least16_t or uint_least16_t as an unsigned hexadecimal (lowercase) integer.

Definition mandated by the C99 standard.


PRIXLEAST16

#define PRIXLEAST16 "hX"

Format specifier for printing an integer of type int_least16_t or uint_least16_t as an unsigned hexadecimal (uppercase) integer.

Definition mandated by the C99 standard.


PRIxLEAST32

#define PRIxLEAST32 "lx"

Format specifier for printing an integer of type int_least32_t or uint_least32_t as an unsigned hexadecimal (lowercase) integer.

Definition mandated by the C99 standard.


PRIXLEAST32

#define PRIXLEAST32 "lX"

Format specifier for printing an integer of type int_least32_t or uint_least32_t as an unsigned hexadecimal (uppercase) integer.

Definition mandated by the C99 standard.


PRIxPTR

#define PRIxPTR "lx"

Format specifier for printing an integer of type intptr_t or uintptr_t as an unsigned hexadecimal (lowercase) integer.

Definition mandated by the C99 standard.


PRIXPTR

#define PRIXPTR "lX"

Format specifier for printing an integer of type intptr_t or uintptr_t as an unsigned hexadecimal (uppercase) integer.

Definition mandated by the C99 standard.


SCNd8

#define SCNd8 "hd"

Format specifier for scanning an integer of type int8_t or uint8_t written as a signed decimal integer.

This definition is the same as SCNi8. Definition mandated by the C99 standard.


SCNd16

#define SCNd16 "hd"

Format specifier for scanning an integer of type int16_t or uint16_t written as a signed decimal integer.

This definition is the same as SCNi16. Definition mandated by the C99 standard.


SCNd32

#define SCNd32 "ld"

Format specifier for scanning an integer of type int32_t or uint32_t written as a signed decimal integer.

This definition is the same as SCNi32. Definition mandated by the C99 standard.


SCNdFAST8

#define SCNdFAST8 "hd"

Format specifier for scanning an integer of type int_fast8_t or uint_fast8_t written as a signed decimal integer.

This definition is the same as SCNiFAST8. Definition mandated by the C99 standard.


SCNdFAST16

#define SCNdFAST16 "hd"

Format specifier for scanning an integer of type int_fast16_t or uint_fast16_t written as a signed decimal integer.

This definition is the same as SCNiFAST16. Definition mandated by the C99 standard.


SCNdFAST32

#define SCNdFAST32 "ld"

Format specifier for scanning an integer of type int_fast32_t or uint_fast32_t written as a signed decimal integer.

This definition is the same as SCNiFAST32. Definition mandated by the C99 standard.


SCNdLEAST8

#define SCNdLEAST8 "hd"

Format specifier for scanning an integer of type int_least8_t or uint_least8_t written as a signed decimal integer.

This definition is the same as SCNiLEAST8. Definition mandated by the C99 standard.


SCNdLEAST16

#define SCNdLEAST16 "hd"

Format specifier for scanning an integer of type int_least16_t or uint_least16_t written as a signed decimal integer.

This definition is the same as SCNiLEAST16. Definition mandated by the C99 standard.


SCNdLEAST32

#define SCNdLEAST32 "ld"

Format specifier for scanning an integer of type int_least32_t or uint_least32_t written as a signed decimal integer.

This definition is the same as SCNiLEAST32. Definition mandated by the C99 standard.


SCNdPTR

#define SCNdPTR "ld"

Format specifier for scanning an integer of type intptr_t or uintptr_t written as a signed decimal integer.

This definition is the same as SCNiPTR. Definition mandated by the C99 standard.


SCNi8

#define SCNi8 "hi"

Format specifier for scanning an integer of type int8_t or uint8_t written as a signed decimal integer.

This definition is the same as SCNd8. Definition mandated by the C99 standard.


SCNi16

#define SCNi16 "hi"

Format specifier for scanning an integer of type int16_t or uint16_t written as a signed decimal integer.

This definition is the same as SCNd16. Definition mandated by the C99 standard.


SCNi32

#define SCNi32 "li"

Format specifier for scanning an integer of type int32_t or uint32_t written as a signed decimal integer.

This definition is the same as SCNd32. Definition mandated by the C99 standard.


SCNiFAST8

#define SCNiFAST8 "hi"

Format specifier for scanning an integer of type int_fast8_t or uint_fast8_t written as a signed decimal integer.

This definition is the same as SCNdFAST8. Definition mandated by the C99 standard.


SCNiFAST16

#define SCNiFAST16 "hi"

Format specifier for scanning an integer of type int_fast16_t or uint_fast16_t written as a signed decimal integer.

This definition is the same as SCNdFAST16. Definition mandated by the C99 standard.


SCNiFAST32

#define SCNiFAST32 "li"

Format specifier for scanning an integer of type int_fast32_t or uint_fast32_t written as a signed decimal integer.

This definition is the same as SCNdFAST32. Definition mandated by the C99 standard.


SCNiLEAST8

#define SCNiLEAST8 "hi"

Format specifier for scanning an integer of type int_least8_t or uint_least8_t written as a signed decimal integer.

This definition is the same as SCNdLEAST8. Definition mandated by the C99 standard.


SCNiLEAST16

#define SCNiLEAST16 "hi"

Format specifier for scanning an integer of type int_least16_t or uint_least16_t written as a signed decimal integer.

This definition is the same as SCNdLEAST16. Definition mandated by the C99 standard.


SCNiLEAST32

#define SCNiLEAST32 "li"

Format specifier for scanning an integer of type int_least32_t or uint_least32_t written as a signed decimal integer.

This definition is the same as SCNdLEAST32. Definition mandated by the C99 standard.


SCNiPTR

#define SCNiPTR "li"

Format specifier for scanning an integer of type intptr_t or uintptr_t written as a signed decimal integer.

This definition is the same as SCNdPTR. Definition mandated by the C99 standard.


SCNu8

#define SCNu8 "hu"

Format specifier for scanning an integer of type int8_t or uint8_t written as an unsigned decimal integer.

Definition mandated by the C99 standard.


SCNu16

#define SCNu16 "hu"

Format specifier for scanning an integer of type int16_t or uint16_t written as an unsigned decimal integer.

Definition mandated by the C99 standard.


SCNu32

#define SCNu32 "lu"

Format specifier for scanning an integer of type int32_t or uint32_t written as an unsigned decimal integer.

Definition mandated by the C99 standard.


SCNuFAST8

#define SCNuFAST8 "hu"

Format specifier for scanning an integer of type int_fast8_t or uint_fast8_t written as an unsigned decimal integer.

Definition mandated by the C99 standard.


SCNuFAST16

#define SCNuFAST16 "hu"

Format specifier for scanning an integer of type int_fast16_t or uint_fast16_t written as an unsigned decimal integer.

Definition mandated by the C99 standard.


SCNuFAST32

#define SCNuFAST32 "lu"

Format specifier for scanning an integer of type int_fast32_t or uint_fast32_t written as an unsigned decimal integer.

Definition mandated by the C99 standard.


SCNuLEAST8

#define SCNuLEAST8 "hu"

Format specifier for scanning an integer of type int_least8_t or uint_least8_t written as an unsigned decimal integer.

Definition mandated by the C99 standard.


SCNuLEAST16

#define SCNuLEAST16 "hu"

Format specifier for scanning an integer of type int_least16_t or uint_least16_t written as an unsigned decimal integer.

Definition mandated by the C99 standard.


SCNuLEAST32

#define SCNuLEAST32 "lu"

Format specifier for scanning an integer of type int_least32_t or uint_least32_t written as an unsigned decimal integer.

Definition mandated by the C99 standard.


SCNuPTR

#define SCNuPTR "lu"

Format specifier for scanning an integer of type intptr_t or uintptr_t written as an unsigned decimal integer.

Definition mandated by the C99 standard.


SCNx8

#define SCNx8 "hx"

Format specifier for scanning an integer of type int8_t or uint8_t written as an unsigned hexadecimal (lowercase) integer.

Definition mandated by the C99 standard.


SCNx16

#define SCNx16 "hx"

Format specifier for scanning an integer of type int16_t or uint16_t written as an unsigned hexadecimal (lowercase) integer.

Definition mandated by the C99 standard.


SCNx32

#define SCNx32 "lx"

Format specifier for scanning an integer of type int32_t or uint32_t written as an unsigned hexadecimal (lowercase) integer.

Definition mandated by the C99 standard.


SCNxFAST8

#define SCNxFAST8 "hx"

Format specifier for scanning an integer of type int_fast8_t or uint_fast8_t written as an unsigned hexadecimal (lowercase) integer.

Definition mandated by the C99 standard.


SCNxFAST16

#define SCNxFAST16 "hx"

Format specifier for scanning an integer of type int_fast16_t or uint_fast16_t written as an unsigned hexadecimal (lowercase) integer.

Definition mandated by the C99 standard.


SCNxFAST32

#define SCNxFAST32 "lx"

Format specifier for scanning an integer of type int_fast32_t or uint_fast32_t written as an unsigned hexadecimal (lowercase) integer.

Definition mandated by the C99 standard.


SCNxLEAST8

#define SCNxLEAST8 "hx"

Format specifier for scanning an integer of type int_least8_t or uint_least8_t written as an unsigned hexadecimal (lowercase) integer.

Definition mandated by the C99 standard.


SCNxLEAST16

#define SCNxLEAST16 "hx"

Format specifier for scanning an integer of type int_least16_t or uint_least16_t written as an unsigned hexadecimal (lowercase) integer.

Definition mandated by the C99 standard.


SCNxLEAST32

#define SCNxLEAST32 "lx"

Format specifier for scanning an integer of type int_least32_t or uint_least32_t written as an unsigned hexadecimal (lowercase) integer.

Definition mandated by the C99 standard.


SCNxPTR

#define SCNxPTR "lx"

Format specifier for scanning an integer of type intptr_t or uintptr_t written as an unsigned hexadecimal (lowercase) integer.

Definition mandated by the C99 standard.


Return to the main index