vhangup(2) DG/UX 5.4R3.00 vhangup(2)
NAME
vhangup - virtually hang up the current control terminal
SYNOPSIS
void vhangup ()
DESCRIPTION
This function provides capabilities that are inherently
implementation dependent. It may change or cease to exist in the
future.
Vhangup revokes read and write access to the calling process's
controlling terminal for all processes (including the calling
process). Further attempts to access this terminal will cause I/O
errors (EBADF). If the subject terminal has a process group
associated with it, a hangup signal (SIGHUP) is sent to that process
group.
ACCESS CONTROL
The calling process' effective user id must be superuser.
RETURN VALUE
None.
DIAGNOSTICS
None.
SEE ALSO
init(1M).
Licensed material--property of copyright holder(s) 1