vhangup(2) DG/UX 4.30 vhangup(2)
NAME
vhangup - Virtually hang up the current control terminal.
SYNOPSIS
void vhangup ( )
PARAMETERS
None.
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's effective user id must be superuser.
RETURN VALUE
None.
EXCEPTIONS
None.
SEE ALSO
The related manual section: init(8).
Licensed material--property of copyright holder(s) Page 1