io

Buffered I/O and Stream Helpers

Functions

FunctionDescription
io_read_stdin
io_write_stdout
io_write_stderr
io_read_line
io_read_fd
io_write_fd
io_flush_fd
io_print_i64
io_print_str
io_println

Details

io_read_stdin

fn io_read_stdin(buf: &i8, max_bytes: i64) -> i64

io_write_stdout

fn io_write_stdout(data: &i8, len: i64) -> i64

io_write_stderr

fn io_write_stderr(data: &i8, len: i64) -> i64

io_read_line

fn io_read_line(fd: i64, buf: &i8, max_bytes: i64) -> i64

io_read_fd

fn io_read_fd(fd: i64, buf: &i8, max_bytes: i64) -> i64

io_write_fd

fn io_write_fd(fd: i64, data: &i8, len: i64) -> i64

io_flush_fd

fn io_flush_fd(fd: i64) -> i64

io_print_i64

fn io_print_i64(val: i64) -> i64

io_print_str

fn io_print_str(s: &i8, len: i64) -> i64

io_println

fn io_println(s: &i8, len: i64) -> i64