vhangup(2)
_________________________________________________________________
vhangup System Call
Virtually hang up the current control terminal.
_________________________________________________________________
SYNTAX
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).
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)