nc 0.9.8

Access system calls directly
Documentation
1
2
3
4
/// Restart a system call after interruption by a stop signal.
pub unsafe fn restart_syscall() -> Result<i32, Errno> {
    unsafe { syscall0(SYS_RESTART_SYSCALL).map(|ret| ret as i32) }
}