Names specified here
Name Description Notes Source Availability
atomic_int_least32_t Atomic integer type ? T <stdatomic.h> C11
atomic_uint_least32_t Atomic integer type ? T <stdatomic.h> C11
INT32_C() Create constant of type int_least32_t L M (·) <stdint.h> C99 C11
INT_LEAST32_MAX Maximum value of int_least32_t L M <stdint.h> C99 C11
INT_LEAST32_MIN Minimum value of int_least32_t L M <stdint.h> C99 C11
int_least32_t Smallest signed integer type with at least 32 bits L T <stdint.h> C99 C11
PRIdLEAST32 Decimal output conversion specifier for int_least32_t M <inttypes.h> C99 C11
PRIiLEAST32 Decimal output conversion specifier for int_least32_t M <inttypes.h> C99 C11
PRIoLEAST32 Octal output conversion specifier for uint_least32_t M <inttypes.h> C99 C11
PRIuLEAST32 Decimal output conversion specifier for uint_least32_t M <inttypes.h> C99 C11
PRIXLEAST32 Hexdecimal output conversion specifier for uint_least32_t M <inttypes.h> C99 C11
PRIxLEAST32 Hexdecimal output conversion specifier for uint_least32_t M <inttypes.h> C99 C11
SCNdLEAST32 Decimal input conversion specifier for int_least32_t M <inttypes.h> C99 C11
SCNiLEAST32 General input conversion specifier for int_least32_t M <inttypes.h> C99 C11
SCNoLEAST32 Octal input conversion specifier for uint_least32_t M <inttypes.h> C99 C11
SCNuLEAST32 Decimal input conversion specifier for uint_least32_t M <inttypes.h> C99 C11
SCNxLEAST32 Hexdecimal input conversion specifier for uint_least32_t M <inttypes.h> C99 C11
UINT32_C() Create constant of type uint_least32_t L M (·) <stdint.h> C99 C11
UINT_LEAST32_MAX Maximum value of uint_least32_t L M <stdint.h> C99 C11
uint_least32_t Smallest unsigned integer type with at least 32 bits L T <stdint.h> C99 C11

uint_least32_t and int_least32_t are the smallest integer types of at least 32 bits. uint_least32_t is unsigned, and has the range zero to UINT_LEAST32_MAX, which is at least [0, +4294967295]. int_least32_t is signed, and has the range INT_LEAST32_MIN to INT_LEAST32_MAX, which is at least [−2147483647, +2147483647].

The following macros can be used in the fmt argument of printf to print arguments of types uint_least32_t and int_least32_t:

The following macros can be used in the fmt argument of scanf to scan arguments of types uint_least32_t * and int_least32_t *:

atomic_uint_least32_t is an alias for _Atomic uint_least32_t. atomic_int_least32_t is an alias for _Atomic int_least32_t.

Related types:

Property uint_least32_t int_least32_t
Minimum width (bits) 32
Lowest value 0 ≤−2147483647
Highest value ≥+4294967295 ≥+2147483647
Constant UINT32_C(untyped-integer-constant) INT32_C(untyped-integer-constant)
printf base 10 "%" PRIuLEAST32 "%" PRIdLEAST32 or "%" PRIiLEAST32
base 8 "%" PRIoLEAST32
upper-case base 16 "%" PRIXLEAST32
lower-case base 16 "%" PRIxLEAST32
scanf base 10 "%" SCNuLEAST32 "%" SCNdLEAST32
base 8 "%" SCNoLEAST32
base 16 "%" SCNxLEAST32
base 16, 8 or 10 by prefix "%" SCNiLEAST32

CHaR
Sitemap Supported
Site format updated 2024-06-05T22:37:07.391+0000
Data updated 1970-01-01T00:00:00.000+0000
Page updated 2022-06-17T21:43:05.000+0000