IO
Source: std/io.mw.
Everything here writes straight to file descriptors 1 and 2 through the platform layer; there is no buffering.
Console output on top of raw write(2): no libc, no buffering.
Functions
Section titled “Functions”fn print(s: *u8)println
Section titled “println”fn println(s: *u8)eprint
Section titled “eprint”fn eprint(s: *u8)eprintln
Section titled “eprintln”fn eprintln(s: *u8)print_char
Section titled “print_char”fn print_char(c: u8)print_i64
Section titled “print_i64”fn print_i64(n: i64)println_i64
Section titled “println_i64”fn println_i64(n: i64)print_u64
Section titled “print_u64”fn print_u64(n: u64)println_u64
Section titled “println_u64”fn println_u64(n: u64)print_hex
Section titled “print_hex”fn print_hex(n: u64)print_f64
Section titled “print_f64”fn print_f64(x: f64, decimals: i64)println_f64
Section titled “println_f64”fn println_f64(x: f64, decimals: i64)