Simulates a hangup on the current terminal. This call arranges for other users to have a "clean" tty at login time.
Arguments
Return values
If the system call succeeds the return value is 0.
If the system call fails the return value is one of the following errno values:
-EPERM |
The calling process has insufficient privileges (the CAP_SYS_TTY_CONFIG capability is required). |
|
Remarks
n/a
Compatibility
n/a |