Differences between version 2 and previous revision of vhangup(2).
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Monday, March 17, 2003 1:09:56 am | by PerryLorier | Revert |
Older page: | version 1 | Last edited on Tuesday, June 4, 2002 12:23:49 am | by perry | Revert |
@@ -1,49 +1,20 @@
-VHANGUP
-!!!VHANGUP
-NAME
-SYNOPSIS
-DESCRIPTION
-RETURN VALUE
-ERRORS
-CONFORMING TO
-SEE ALSO
-----
!!NAME
-
-
vhangup - virtually hangup the current tty
!!SYNOPSIS
+ __#include <unistd.h>__
+ __int vhangup(void);__
-
-__#include __
-
-
-__int vhangup(void);__
!!DESCRIPTION
+__vhangup__ simulates a hangup on the current terminal. This call arranges for other users to have a ``clean'' tty at login time.
-
-__vhangup__ simulates a hangup on the current terminal.
-This call arranges for other users to have a ``clean'' tty
-at login time.
!!RETURN VALUE
+On success, zero is returned. On error, -1 is returned, and ''errno'' is set appropriately.
-
-On success, zero is returned. On error, -1 is returned, and
-''errno'' is set appropriately.
!!ERRORS
+;[EPERM]: The user is not the super-user.
-
-__EPERM__
-
-
-The user is not the super-user.
!!CONFORMING TO
+This call is Linux-specific, and should not be used in programs intended to be portable.
-
-This call is Linux-specific, and should not be used in
-programs intended to be portable.
!!SEE ALSO
-
-
init(8)
-----