File:  [Research Unix] / researchv10dc / man / manb / vhangup.2v
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 3 months ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Dan Cross

.TH VHANGUP 2V
.UC 4
.SH NAME
vhangup \- virtually ``hangup'' the current control terminal
.SH SYNOPSIS
.B vhangup()
.SH DESCRIPTION
.I Vhangup
is used by the initialization process
.IR init (8)
to arrange that users are given \*(lqclean\*(rq' terminals at login,
by revoking access of the previous users' processes to the terminal.
To effect this,
.I vhangup
searches the system tables for references to the control terminal
of the invoking process, revoking access permissions
on each instance of the terminal which it finds.
Further attempts to access the terminal by the affected processes
will yield i/o errors (EBADF).
Finally,
a hangup signal (SIGHUP) is sent to the process group of the
control terminal.
.SH SEE ALSO
init (8)
.SH BUGS
Access to
the control terminal via
.B /dev/tty
is still possible.
.PP
This call is peculiar to this version of UNIX.
The options and specifications of this system call and even the call itself
are subject to change.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.