package vendor:libc-shim

⌘K
Ctrl+K
or
/

    Types

    Clock ¶

    Clock :: enum i32 {
    	Monotonic = 1, 
    }
    Related Procedures With Parameters

    FILE ¶

    FILE :: rawptr
    Related Procedures With Parameters
    Related Procedures With Returns

    Time_Spec ¶

    Time_Spec :: struct {
    	tv_sec:  i64,
    	tv_nsec: i64,
    }
    Related Procedures With Parameters

    clock_t ¶

    clock_t :: i64
    Related Procedures With Returns

    ldiv_t ¶

    ldiv_t :: struct {
    	quot: i32,
    	rem:  i32,
    }
    Related Procedures With Returns

    Constants

    ATEXIT_MAX ¶

    ATEXIT_MAX :: 32

    EOF ¶

    EOF :: -1

    Variables

    This section is empty.

    Procedures

    abort ¶

    abort :: proc "c" () -> ! {…}

    abs ¶

    abs :: proc "c" (x: i32) -> i32 {…}

    acos ¶

    acos :: proc "c" (x: f64) -> f64 {…}

    acosf ¶

    acosf :: proc "c" (x: f32) -> f32 {…}

    aligned_alloc ¶

    aligned_alloc :: proc "c" (alignment: uint, size: uint) -> rawptr {…}

    asin ¶

    asin :: proc "c" (x: f64) -> f64 {…}

    atan ¶

    atan :: proc "c" (x: f64) -> f64 {…}

    atan2 ¶

    atan2 :: proc "c" (y, x: f64) -> f64 {…}

    atan2f ¶

    atan2f :: proc "c" (v: f32, v2: f32) -> f32 {…}

    atexit ¶

    atexit :: proc "c" (function: proc "c" () -> !) -> i32 {…}

    atof ¶

    atof :: proc "c" (str: cstring) -> f64 {…}

    atoi ¶

    atoi :: proc "c" (str: cstring) -> i32 {…}

    atol ¶

    atol :: proc "c" (str: cstring) -> i32 {…}

    atoll ¶

    atoll :: proc "c" (str: cstring) -> i64 {…}

    ceil ¶

    ceil :: proc "c" (x: f64) -> f64 {…}

    ceilf ¶

    ceilf :: proc "c" (x: f32) -> f32 {…}

    clock ¶

    clock :: proc "c" () -> i64 {…}

    clock_gettine ¶

    clock_gettine :: proc "c" (clockid: Clock, tp: ^Time_Spec) -> i32 {…}

    cos ¶

    cos :: proc "c" (x: f64) -> f64 {…}

    cosf ¶

    cosf :: proc "c" (v: f32) -> f32 {…}

    exit ¶

    exit :: proc "c" (exit_code: i32) -> ! {…}

    exp ¶

    exp :: proc "c" (x: f64) -> f64 {…}

    fabs ¶

    fabs :: proc "c" (x: f64) -> f64 {…}

    fabsf ¶

    fabsf :: proc "c" (x: f32) -> f32 {…}

    fclose ¶

    fclose :: proc "c" (file: rawptr) -> i32 {…}

    floor ¶

    floor :: proc "c" (x: f64) -> f64 {…}

    floorf ¶

    floorf :: proc "c" (x: f32) -> f32 {…}

    fmod ¶

    fmod :: proc "c" (x, y: f64) -> f64 {…}

    fmodf ¶

    fmodf :: proc "c" (x, y: f32) -> f32 {…}

    fopen ¶

    fopen :: proc "c" (path: cstring, mode: cstring) -> rawptr {…}

    fread ¶

    fread :: proc "c" (buffer: [^]u8, size: uint, count: uint, file: rawptr) -> uint {…}

    free ¶

    free :: proc "c" (ptr: rawptr) {…}

    fseek ¶

    fseek :: proc "c" (file: rawptr, offset: i32, whence: i32) -> i32 {…}

    ftell ¶

    ftell :: proc "c" (file: rawptr) -> i32 {…}

    fwrite ¶

    fwrite :: proc "c" (buffer: [^]u8, size: uint, count: uint, file: rawptr) -> uint {…}

    getchar ¶

    getchar :: proc "c" () -> i32 {…}

    init_context ¶

    init_context :: proc "contextless" () {…}

    isblank ¶

    isblank :: proc "c" (c: i32) -> b32 {…}

    isdigit ¶

    isdigit :: proc "c" (c: i32) -> b32 {…}

    isfinited ¶

    isfinited :: proc "c" (x: f64) -> bool {…}

    isfinitef ¶

    isfinitef :: proc "c" (x: f32) -> bool {…}

    isinfd ¶

    isinfd :: proc "c" (v: f64) -> bool {…}

    isinff ¶

    isinff :: proc "c" (v: f32) -> bool {…}

    isnand ¶

    isnand :: proc "c" (v: f64) -> bool {…}

    isnanf ¶

    isnanf :: proc "c" (v: f32) -> bool {…}

    isspace ¶

    isspace :: proc "c" (c: i32) -> b32 {…}

    ldexp ¶

    ldexp :: proc "c" (x: f64, y: i32) -> f64 {…}

    ldiv ¶

    ldiv :: proc "c" (number: i32, denom: i32) -> ldiv_t {…}

    log ¶

    log :: proc "c" (x: f64) -> f64 {…}

    log10 ¶

    log10 :: proc "c" (x: f64) -> f64 {…}

    log2 ¶

    log2 :: proc "c" (x: f64) -> f64 {…}

    logf ¶

    logf :: proc "c" (x: f32) -> f32 {…}

    malloc ¶

    malloc :: proc "c" (size: uint) -> rawptr {…}

    memchr ¶

    memchr :: proc "c" (str: [^]u8, c: i32, n: uint) -> [^]u8 {…}

    memcmp ¶

    memcmp :: proc "c" (lhs: [^]u8, rhs: [^]u8, count: uint) -> i32 {…}

    modf ¶

    modf :: proc "c" (num: f64, iptr: ^f64) -> f64 {…}

    pow ¶

    pow :: proc "c" (x, y: f64) -> f64 {…}

    powf ¶

    powf :: proc "c" (x, y: f32) -> f32 {…}

    putchar ¶

    putchar :: proc "c" (char: i32) -> i32 {…}

    qsort ¶

    qsort :: proc "c" (base: rawptr, num: uint, size: uint, cmp: proc "c" (a, b: rawptr) -> i32) {…}

    realloc ¶

    realloc :: proc "c" (ptr: rawptr, new_size: uint) -> rawptr {…}

    remainderf ¶

    remainderf :: proc "c" (x, y: f32) -> f32 {…}

    sched_yield ¶

    sched_yield :: proc "c" () -> i32 {…}

    set_context ¶

    set_context :: proc(ctx: runtime.Context = context) {…}
     

    NOTE: the allocator must respect an old_size of -1 on resizes!

    sin ¶

    sin :: proc "c" (x: f64) -> f64 {…}

    sinf ¶

    sinf :: proc "c" (v: f32) -> f32 {…}

    sqrt ¶

    sqrt :: proc "c" (x: f64) -> f64 {…}

    sqrtf ¶

    sqrtf :: proc "c" (v: f32) -> f32 {…}

    strchr ¶

    strchr :: proc "c" (str: cstring, ch: i32) -> cstring {…}

    strcmp ¶

    strcmp :: proc "c" (lhs: cstring, rhs: cstring) -> i32 {…}

    strcpy ¶

    strcpy :: proc "c" (dst: [^]u8, src: cstring) -> cstring {…}

    strcspn ¶

    strcspn :: proc "c" (dst: cstring, src: cstring) -> uint {…}

    strlen ¶

    strlen :: proc "c" (str: cstring) -> u32 {…}

    strncmp ¶

    strncmp :: proc "c" (lhs: cstring, rhs: cstring, count: uint) -> i32 {…}

    strncpy ¶

    strncpy :: proc "c" (dst: [^]u8, src: cstring, count: uint) -> cstring {…}

    strrchr ¶

    strrchr :: proc "c" (str: cstring, ch: i32) -> cstring {…}

    strstr ¶

    strstr :: proc "c" (str: cstring, substr: cstring) -> cstring {…}

    strtod ¶

    strtod :: proc "c" (str: cstring, str_end: ^cstring) -> f64 {…}

    strtol ¶

    strtol :: proc "c" (str: cstring, str_end: ^cstring, base: i32) -> i32 {…}

    tan ¶

    tan :: proc "c" (x: f64) -> f64 {…}

    toupper ¶

    toupper :: proc "c" (c: i32) -> i32 {…}

    trunc ¶

    trunc :: proc "c" (x: f64) -> f64 {…}

    vfprintf ¶

    vfprintf :: proc "c" (file: rawptr, fmt: cstring, args: ^c.va_list) -> i32 {…}

    vsnprintf ¶

    vsnprintf :: proc "c" (buf: [^]u8, count: uint, fmt: cstring, args: ^c.va_list) -> i32 {…}

    vsprintf ¶

    vsprintf :: proc "c" (buf: [^]u8, fmt: cstring, args: ^c.va_list) -> i32 {…}

    Procedure Groups

    This section is empty.

    Source Files

    Generation Information

    Generated with odin version dev-2026-03 (vendor "odin") Windows_amd64 @ 2026-03-08 21:15:27.815732900 +0000 UTC