src/vlock-all.c: use sigaction instead of signal
[vlock.git] / man / vlock-all.8
blobf3b8f4e8c576ef2b81b35c3ff993677c4349f4cf
1 .TH VLOCK-ALL 8 "28 July 2007" "Linux" "Linux Programmer's Manual"
2 .SH NAME
3 vlock-all \- lock console while preventing virtual console switching
4 .SH SYNOPSIS
5 .B vlock-all
6 .SH DESCRIPTION
7 \fBvlock-all\fR is part of vlock(1), the Virtual Console locking program for
8 Linux.  It disables console switching and runs vlock-current(8).  After
9 vlock-current(8) exits it reenables console switching.
10 .SH "EXIT CODES"
11 \fBvlock-all\fR exits 111 after printing an error message if it has trouble
12 disabling console switching.  It exits 127 if it has trouble running
13 vlock-current(8).  If vlock-current(8) is killed by a signal it exits 128 plus
14 the number of the signal.  Otherwise its exit code is that of vlock-current(8).
15 .SH "SEE ALSO"
16 .BR vlock (1),
17 .BR vlock-current (8),
18 .SH AUTHORS
19 Frank Benkstein <frank-vlock@benkstein.net>