Function exit [src]

Prototype

pub fn exit(status: u8) noreturn

Parameters

status: u8

Source

pub fn exit(status: u8) noreturn { if (status == 0) { exits(null); } else { // TODO plan9 does not have exit codes. You either exit with 0 or a string const arr: [1:0]u8 = .{status}; exits(&arr); } }