DoxigAlpha

exits

Function parameters

Parameters

#
status:?[*:0]const u8

Ported from /sys/include/ape/errno.h

Types

#
E
Ported from /sys/include/ape/errno.h

Gets whatever the last errstr was

Functions

#
errstr
Gets whatever the last errstr was
brk_
Brk sets the system's idea of the lowest bss location not

= 0

Values

#
PATH_MAX
= 1023
ERRMAX
= 128

Source

Implementation

#
pub fn exits(status: ?[*:0]const u8) noreturn {
    _ = syscall_bits.syscall1(.EXITS, if (status) |s| @intFromPtr(s) else 0);
    unreachable;
}