Module libc/stdint

libc/stdint
Stability: unstable — a raw C binding, not a Yo design. Yo's own fixed-width types (`i8` … `u64`, `usize`) are the supported spelling; the aliases below exist so a prototype transcribed from a C header compiles unchanged. What `std/` actually uses from here is `SIZE_MAX` (`std/allocator`, `std/collections/array_list`, `std/collections/deque` — the capacity overflow guard) and `wint_t` (`std/libc/wctype`). The `*_least*` / `*_fast*` types and the limit constants are additive-by-demand and follow the platform's header, so no completeness claim is made. — stable modules only change additively; this one may still change.

C11 <stdint.h> — fixed-width integer types and limits.

Note: Yo already has i8, i16, i32, i64, u8, u16, u32, u64. This file provides C-compatible aliases and additional types/constants.

Stability

unstable — a raw C binding, not a Yo design. Yo's own fixed-width types (i8u64, usize) are the supported spelling; the aliases below exist so a prototype transcribed from a C header compiles unchanged. What std/ actually uses from here is SIZE_MAX (std/allocator, std/collections/array_list, std/collections/deque — the capacity overflow guard) and wint_t (std/libc/wctype). The *_least* / *_fast* types and the limit constants are additive-by-demand and follow the platform's header, so no completeness claim is made.

Types

int8_t type-alias
i8

C's int8_t — an alias for Yo's i8. These eight aliases carry no behaviour of their own; they exist so a prototype transcribed from a C header resolves without rewriting its types. Yo code should write i8.

int16_t type-alias
i16

C's int16_t — Yo's i16.

int32_t type-alias
i32

C's int32_t — Yo's i32.

int64_t type-alias
i64

C's int64_t — Yo's i64.

uint8_t type-alias
u8

C's uint8_t — Yo's u8.

uint16_t type-alias
u16

C's uint16_t — Yo's u16.

uint32_t type-alias
u32

C's uint32_t — Yo's u32.

uint64_t type-alias
u64

C's uint64_t — Yo's u64.

int_least8_t type-alias
int_least8_t
int_least16_t type-alias
int_least16_t
int_least32_t type-alias
int_least32_t
int_least64_t type-alias
int_least64_t
uint_least8_t type-alias
uint_least8_t
uint_least16_t type-alias
uint_least16_t
uint_least32_t type-alias
uint_least32_t
uint_least64_t type-alias
uint_least64_t
int_fast8_t type-alias
int_fast8_t
int_fast16_t type-alias
int_fast16_t
int_fast32_t type-alias
int_fast32_t
int_fast64_t type-alias
int_fast64_t
uint_fast8_t type-alias
uint_fast8_t
uint_fast16_t type-alias
uint_fast16_t
uint_fast32_t type-alias
uint_fast32_t
uint_fast64_t type-alias
uint_fast64_t
intptr_t type-alias
intptr_t
uintptr_t type-alias
uintptr_t
intmax_t type-alias
intmax_t
uintmax_t type-alias
uintmax_t
wint_t type-alias
wint_t

Constants

INT8_MIN constant i8

Value: <unknown: i8>

INT8_MAX constant i8

Value: <unknown: i8>

INT16_MIN constant i16

Value: <unknown: i16>

INT16_MAX constant i16

Value: <unknown: i16>

INT32_MIN constant i32

Value: <unknown: i32>

INT32_MAX constant i32

Value: <unknown: i32>

INT64_MIN constant i64

Value: <unknown: i64>

INT64_MAX constant i64

Value: <unknown: i64>

UINT8_MAX constant u8

Value: <unknown: u8>

UINT16_MAX constant u16

Value: <unknown: u16>

UINT32_MAX constant u32

Value: <unknown: u32>

UINT64_MAX constant u64

Value: <unknown: u64>

INT_LEAST8_MIN constant int_least8_t

Value: <unknown: int_least8_t>

INT_LEAST8_MAX constant int_least8_t

Value: <unknown: int_least8_t>

INT_LEAST16_MIN constant int_least16_t

Value: <unknown: int_least16_t>

INT_LEAST16_MAX constant int_least16_t

Value: <unknown: int_least16_t>

INT_LEAST32_MIN constant int_least32_t

Value: <unknown: int_least32_t>

INT_LEAST32_MAX constant int_least32_t

Value: <unknown: int_least32_t>

INT_LEAST64_MIN constant int_least64_t

Value: <unknown: int_least64_t>

INT_LEAST64_MAX constant int_least64_t

Value: <unknown: int_least64_t>

UINT_LEAST8_MAX constant uint_least8_t

Value: <unknown: uint_least8_t>

UINT_LEAST16_MAX constant uint_least16_t

Value: <unknown: uint_least16_t>

UINT_LEAST32_MAX constant uint_least32_t

Value: <unknown: uint_least32_t>

UINT_LEAST64_MAX constant uint_least64_t

Value: <unknown: uint_least64_t>

INT_FAST8_MIN constant int_fast8_t

Value: <unknown: int_fast8_t>

INT_FAST8_MAX constant int_fast8_t

Value: <unknown: int_fast8_t>

INT_FAST16_MIN constant int_fast16_t

Value: <unknown: int_fast16_t>

INT_FAST16_MAX constant int_fast16_t

Value: <unknown: int_fast16_t>

INT_FAST32_MIN constant int_fast32_t

Value: <unknown: int_fast32_t>

INT_FAST32_MAX constant int_fast32_t

Value: <unknown: int_fast32_t>

INT_FAST64_MIN constant int_fast64_t

Value: <unknown: int_fast64_t>

INT_FAST64_MAX constant int_fast64_t

Value: <unknown: int_fast64_t>

UINT_FAST8_MAX constant uint_fast8_t

Value: <unknown: uint_fast8_t>

UINT_FAST16_MAX constant uint_fast16_t

Value: <unknown: uint_fast16_t>

UINT_FAST32_MAX constant uint_fast32_t

Value: <unknown: uint_fast32_t>

UINT_FAST64_MAX constant uint_fast64_t

Value: <unknown: uint_fast64_t>

INTPTR_MIN constant intptr_t

Value: <unknown: intptr_t>

INTPTR_MAX constant intptr_t

Value: <unknown: intptr_t>

UINTPTR_MAX constant uintptr_t

Value: <unknown: uintptr_t>

INTMAX_MIN constant intmax_t

Value: <unknown: intmax_t>

INTMAX_MAX constant intmax_t

Value: <unknown: intmax_t>

UINTMAX_MAX constant uintmax_t

Value: <unknown: uintmax_t>

PTRDIFF_MIN constant isize

Value: <unknown: isize>

PTRDIFF_MAX constant isize

Value: <unknown: isize>

SIZE_MAX constant usize

Value: <unknown: usize>

SIG_ATOMIC_MIN constant int

Value: <unknown: int>

SIG_ATOMIC_MAX constant int

Value: <unknown: int>

WINT_MIN constant wint_t

Value: <unknown: wint_t>

WINT_MAX constant wint_t

Value: <unknown: wint_t>