Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ exit_quiet_zone(3) — Tru64 UNIX 5.1b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

enter_quiet_zone(3)  —  Subroutines

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 function 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

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026