nc 0.9.7

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)
}