Rho Rho language and toolchain

std.os.sys

The module module std.os.sys, read from deploy/std/os/sys.rho. This page is generated from the source, so it describes what the code declares.

Functions

exit()

fn exit(code: u32) void

read()

fn read(fd: u32, buf: Ptr[u8], len: u32) u32

write()

fn write(fd: u32, buf: Ptr[u8], len: u32) u32

Externs

Externs are supplied by the host rather than declared in Rho, which is how a port reaches a service.

ExternSignature
c_syscallextern fn c_syscall(num: u64, a: u64, b: u64, c: u64, d: u64, e: u64, f: u64) u64