Rev | Author | # | Line |
---|---|---|---|
1 | perry | 1 | !!NAME |
2 | vhangup - virtually hangup the current tty | ||
3 | !!SYNOPSIS | ||
2 | PerryLorier | 4 | __#include <unistd.h>__ |
5 | __int vhangup(void);__ | ||
1 | perry | 6 | |
7 | !!DESCRIPTION | ||
2 | PerryLorier | 8 | __vhangup__ simulates a hangup on the current terminal. This call arranges for other users to have a ``clean'' tty at login time. |
1 | perry | 9 | |
10 | !!RETURN VALUE | ||
2 | PerryLorier | 11 | On success, zero is returned. On error, -1 is returned, and ''errno'' is set appropriately. |
1 | perry | 12 | |
13 | !!ERRORS | ||
2 | PerryLorier | 14 | ;[EPERM]: The user is not the super-user. |
1 | perry | 15 | |
16 | !!CONFORMING TO | ||
2 | PerryLorier | 17 | This call is Linux-specific, and should not be used in programs intended to be portable. |
1 | perry | 18 | |
19 | !!SEE ALSO | ||
20 | init(8) |
lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 9 times)