nc 0.9.8

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