package core:c
Index
Types (49)
- bool
- char
- complex_double
- complex_float
- double
- float
- int
- int16_t
- int32_t
- int64_t
- int8_t
- int_fast16_t
- int_fast32_t
- int_fast64_t
- int_fast8_t
- int_least16_t
- int_least32_t
- int_least64_t
- int_least8_t
- intmax_t
- intptr_t
- long
- longlong
- ptrdiff_t
- schar
- short
- size_t
- ssize_t
- uchar
- uint
- uint16_t
- uint32_t
- uint64_t
- uint8_t
- uint_fast16_t
- uint_fast32_t
- uint_fast64_t
- uint_fast8_t
- uint_least16_t
- uint_least32_t
- uint_least64_t
- uint_least8_t
- uintmax_t
- uintptr_t
- ulong
- ulonglong
- ushort
- va_list
- wchar_t
Variables (0)
This section is empty.
Procedures (0)
This section is empty.
Procedure Groups (0)
This section is empty.
Types
complex_double ¶
complex_double :: builtin.complex128
complex_float ¶
complex_float :: builtin.complex64
int_fast16_t ¶
int_fast16_t :: builtin.i32
int_fast32_t ¶
int_fast32_t :: builtin.i32
int_fast64_t ¶
int_fast64_t :: builtin.i64
int_fast8_t ¶
int_fast8_t :: builtin.i8
int_least16_t ¶
int_least16_t :: builtin.i16
int_least32_t ¶
int_least32_t :: builtin.i32
int_least64_t ¶
int_least64_t :: builtin.i64
int_least8_t ¶
int_least8_t :: builtin.i8
These are all the same in multiple libc's for multiple architectures.
intmax_t ¶
intmax_t :: builtin.i64
intptr_t ¶
intptr_t :: builtin.int
long ¶
long :: builtin.i32 when (ODIN_OS == .Windows || size_of(builtin.rawptr) == 4) else builtin.i64
longlong ¶
longlong :: builtin.i64
uint16_t ¶
uint16_t :: builtin.u16
uint32_t ¶
uint32_t :: builtin.u32
uint64_t ¶
uint64_t :: builtin.u64
uint_fast16_t ¶
uint_fast16_t :: builtin.u32
uint_fast32_t ¶
uint_fast32_t :: builtin.u32
uint_fast64_t ¶
uint_fast64_t :: builtin.u64
uint_fast8_t ¶
uint_fast8_t :: builtin.u8
uint_least16_t ¶
uint_least16_t :: builtin.u16
uint_least32_t ¶
uint_least32_t :: builtin.u32
uint_least64_t ¶
uint_least64_t :: builtin.u64
uint_least8_t ¶
uint_least8_t :: builtin.u8
uintmax_t ¶
uintmax_t :: builtin.u64
uintptr_t ¶
uintptr_t :: builtin.uintptr
ulong ¶
ulong :: builtin.u32 when (ODIN_OS == .Windows || size_of(builtin.rawptr) == 4) else builtin.u64
ulonglong ¶
ulonglong :: builtin.u64
va_list ¶
va_list :: struct #align (16) { _: [4096]u8, }
Since there are no types in C with an alignment larger than that of max_align_t, which cannot be larger than sizeof(long double) as any other exposed type wouldn't be valid C, the maximum alignment possible in a strictly conformant C implementation is 16 on the platforms we care about. The choice of 4096 bytes for storage of this type is more than enough on all relevant platforms.
Constants
CHAR_BIT ¶
CHAR_BIT :: 8
INT16_MAX ¶
INT16_MAX: i32 : int(0x7fff)
INT16_MIN ¶
INT16_MIN: i32 : ~INT16_MAX
INT32_MAX ¶
INT32_MAX: i32 : int(0x7fffffff)
INT32_MIN ¶
INT32_MIN: i32 : ~INT32_MAX
INT64_MAX ¶
INT64_MAX: i64 : longlong(0x7fffffffffffffff)
INT64_MIN ¶
INT64_MIN: i64 : ~INT64_MAX
INT8_MAX ¶
INT8_MAX: i32 : int(0x7f)
Copy C's rules for type promotion here by forcing the type on the literals.
INT8_MIN ¶
INT8_MIN: i32 : ~INT8_MAX
PTRDIFF_MAX ¶
PTRDIFF_MAX: ptrdiff_t : max(ptrdiff_t)
PTRDIFF_MIN ¶
PTRDIFF_MIN: ptrdiff_t : min(ptrdiff_t)
SIZE_MAX ¶
SIZE_MAX: uint : max(size_t)
UINT16_MAX ¶
UINT16_MAX: i32 : int(0xffff)
UINT32_MAX ¶
UINT32_MAX: u32 : uint(0xffffffff)
UINT64_MAX ¶
UINT64_MAX: u64 : ulonglong(0xffffffffffffffff)
UINT8_MAX ¶
UINT8_MAX: i32 : int(0xff)
WCHAR_MAX ¶
WCHAR_MAX: u16 : max(wchar_t)
WCHAR_MIN ¶
WCHAR_MIN: u16 : min(wchar_t)
Variables
This section is empty.
Procedures
This section is empty.
Procedure Groups
This section is empty.
Source Files
Generation Information
Generated with odin version dev-2024-12 (vendor "odin") Windows_amd64 @ 2024-12-17 21:11:00.880804300 +0000 UTC