mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-20 20:04:19 +08:00
11 lines
164 B
Rust
11 lines
164 B
Rust
///! Process syscalls
|
|
|
|
use arch::interrupt::halt;
|
|
|
|
pub fn exit(status: usize) -> ! {
|
|
println!("Exit {}", status);
|
|
loop {
|
|
unsafe { halt() };
|
|
}
|
|
}
|