nc 0.8.13

Access system calls directly
Documentation
1
2
3
4
/// Virtually hang up the current terminal.
pub unsafe fn vhangup() -> Result<(), Errno> {
    syscall0(SYS_VHANGUP).map(drop)
}