← libc

libc/lib.kur

//! The C runtime's bindings: the raw, unsafe layer under `std`.
// One module for each area of the C runtime (the C files beside this one,
// which every hosted program links, and the C library's `strtod`), each
// declaring once the C functions of its area that Kursal code calls, with
// the raw types they need: errnos as integers, pointers and lengths. `std`
// wraps them in safe types (`Buffer!`, `std::io::Error`, `File!`,
// `Command!`, `std::thread::spawn`) and does not re-export them; a program
// that needs a raw binding depends on `libc` itself. Depends on `core`
// alone.
use package::{env, float, fs, io, process, thread, time};
export env;
export float;
export fs;
export io;
export process;
export thread;
export time;