SCCS-vsn: lib/libc/sys/vhangup.2 5.1
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)vhangup.2 4.1 (Berkeley) %G%
+.\" @(#)vhangup.2 5.1 (Berkeley) %G%
+.TH VHANGUP 2 "12 Febuary 1983"
.UC 4
.SH NAME
vhangup \- virtually ``hangup'' the current control terminal
.UC 4
.SH NAME
vhangup \- virtually ``hangup'' the current control terminal
.I Vhangup
is used by the initialization process
.IR init (8)
.I Vhangup
is used by the initialization process
.IR init (8)
-to arrange that users are given \*(lqclean\*(rq' terminals at login,
+(among others) 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
by revoking access of the previous users' processes to the terminal.
To effect this,
.I vhangup
.B /dev/tty
is still possible.
.PP
.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.
+This call should be replaced by an automatic mechanism which
+takes place on process exit.