enter_quiet_zone(3)enter_quiet_zone(3)NAME
enter_quiet_zone, exit_quiet_zone - Prevent keyboard interruption of
program actions (Enhanced Security)
SYNOPSIS
#include <prot.h>
void enter_quiet_zone( ); #include <prot.h>
void exit_quiet_zone( );
LIBRARY
Security Library - libsecurity.so
DESCRIPTION
The enter_quiet_zone() function sets the appropriate signals to a state
that prevents keyboard interruption of program actions. If this func‐
tion is called multiple times without an intervening exit_quiet_zone()
call, nothing is done. If an alarm has been set, the time left to go
is saved.
The exit_quiet_zone() function restores the signals to their previous
state. Do not call this function from reentrant code because it uses a
static area. A pending alarm clock is restored.
The signals that are affected are SIGHUP, SIGINT, SIGQUIT, SIGSYS,
SIGALRM.
SEE ALSO
Security
enter_quiet_zone(3)