Skip to content
Snippets Groups Projects
Unverified Commit ae4b64c4 authored by Paul Sajna's avatar Paul Sajna Committed by GitHub
Browse files

missing curlyboi

parent 4d506e69
No related branches found
No related tags found
1 merge request!14implement some unistd
......@@ -22,7 +22,7 @@ pub fn dup(fd: c_int) -> c_int {
pub fn dup2(fd1: c_int, fd2) -> c_int {
syscall::dup2(fd1 as usize, fd2 as usize, &[])? as c_int
}
pub fn exit(status: c_int) -> ! {
syscall::exit(status as usize);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment