|
|
1.1 root 1: .TH VHANGUP 2V
2: .UC 4
3: .SH NAME
4: vhangup \- virtually ``hangup'' the current control terminal
5: .SH SYNOPSIS
6: .B vhangup()
7: .SH DESCRIPTION
8: .I Vhangup
9: is used by the initialization process
10: .IR init (8)
11: to arrange that users are given \*(lqclean\*(rq' terminals at login,
12: by revoking access of the previous users' processes to the terminal.
13: To effect this,
14: .I vhangup
15: searches the system tables for references to the control terminal
16: of the invoking process, revoking access permissions
17: on each instance of the terminal which it finds.
18: Further attempts to access the terminal by the affected processes
19: will yield i/o errors (EBADF).
20: Finally,
21: a hangup signal (SIGHUP) is sent to the process group of the
22: control terminal.
23: .SH SEE ALSO
24: init (8)
25: .SH BUGS
26: Access to
27: the control terminal via
28: .B /dev/tty
29: is still possible.
30: .PP
31: This call is peculiar to this version of UNIX.
32: The options and specifications of this system call and even the call itself
33: are subject to change.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.