Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ enter_quiet_zone(3) — Digital UNIX 3.2c

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)

LIBRARY

Security Library − libsecurity.a and libsecurity.so

SYNOPSIS

#include <prot.h>
void enter_quiet_zone();

#include <prot.h>
void exit_quiet_zone();

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. 

RELATED INFORMATION

Security

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