Content-type: text/html
enter_quiet_zone, exit_quiet_zone - Prevent keyboard interruption of program actions (Enhanced Security)
Security Library - libsecurity.a and libsecurity.so
#include <prot.h> void enter_quiet_zone(); #include <prot.h> void exit_quiet_zone();
The function sets the appropriate signals to a state that prevents keyboard interruption of program actions. If this function is called multiple times without an intervening call, nothing is done. If an alarm has been set, the time left to go is saved.
The 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.
Security
delim off