Function lrs::tty::hang_up

Hangs up the controlling terminal of this process.

Syntax

fn hang_up() -> Result<(), Errno>

Remarks

This requires the CAP_SYS_TTY_CONFIG capability.

See also