Namespaces

Global Variables

Functions

fn brk_(addr: usize) i32

Brk sets the system’s idea of the lowest bss location not used by the program (…

Brk sets the system’s idea of the lowest bss location not used by the program (called the break) to addr rounded up to the next multiple of 8 bytes. Locations not less than addr and below the stack pointer may cause a memory violation if accessed. -9front brk(2)

fn close(fd: i32) usize

No documentation provided.

fn create(path: [*:0]const u8, omode: mode_t, perms: usize) usize

No documentation provided.

fn errstr() []const u8

Gets whatever the last errstr was

fn exit(status: u8) noreturn

No documentation provided.

fn exits(status: ?[*:0]const u8) noreturn

No documentation provided.

fn fd2path(fd: i32, buf: [*]u8, nbuf: usize) usize

No documentation provided.

fn getErrno(r: usize) E

Get the errno from a syscall return value, or 0 for no error.

fn getpid() u32

No documentation provided.

fn open(path: [*:0]const u8, flags: u32) usize

No documentation provided.

fn openat(dirfd: i32, path: [*:0]const u8, flags: u32, _: mode_t) usize

No documentation provided.

fn pread(fd: i32, buf: [*]const u8, count: usize, offset: isize) usize

No documentation provided.

fn pwrite(fd: i32, buf: [*]const u8, count: usize, offset: isize) usize

No documentation provided.

fn read(fd: i32, buf: [*]const u8, count: usize) usize

No documentation provided.

fn sbrk(n: usize) usize

No documentation provided.

fn sigaction(sig: u6, act: ?*const Sigaction, oact: ?*Sigaction) usize

No documentation provided.

fn write(fd: i32, buf: [*]const u8, count: usize) usize

No documentation provided.

Values

ERRMAX
comptime_int
PATH_MAX
comptime_int
STDERR_FILENO
comptime_int
STDIN_FILENO
comptime_int
STDOUT_FILENO
comptime_int
empty_sigset
comptime_int
syscall_bits
type