redox/kernel/syscall/process.rs

11 lines
164 B
Rust
Raw Normal View History

2016-08-14 23:58:35 +02:00
///! Process syscalls
use arch::interrupt::halt;
pub fn exit(status: usize) -> ! {
println!("Exit {}", status);
loop {
unsafe { halt() };
}
}