wasi: remove posix-y exit

master
Shritesh Bhattarai 2019-05-02 11:33:10 -05:00
parent 84682eb862
commit a530a111a5
1 changed files with 0 additions and 4 deletions

View File

@ -10,10 +10,6 @@ pub fn getErrno(r: usize) usize {
return if (signed_r > -4096 and signed_r < 0) @intCast(usize, -signed_r) else 0;
}
pub fn exit(status: i32) noreturn {
proc_exit(@bitCast(exitcode_t, isize(status)));
}
pub fn write(fd: i32, buf: [*]const u8, count: usize) usize {
var nwritten: usize = undefined;