Functions | Variables
ui-signals.h File Reference

Handle various OS signals. More...

Go to the source code of this file.


void signals_ignore_tstp (void)
 Ignore SIGTSTP signals (keyboard suspend) More...
void signals_handle_tstp (void)
 Handle SIGTSTP signals (keyboard suspend) More...
void signals_init (void)
 Prepare to handle the relevant signals. More...


s16b signal_count

Detailed Description

Handle various OS signals.

Copyright (c) 1997 Ben Harrison

This work is free software; you can redistribute it and/or modify it under the terms of either:

a) the GNU General Public License as published by the Free Software Foundation, version 2, or

b) the "Angband licence": This software may be copied and distributed for educational, research, and not for profit purposes provided that this copyright and statement are included in all such copies. Other copyrights may also apply.

Function Documentation

◆ signals_handle_tstp()

void signals_handle_tstp ( void  )

Handle SIGTSTP signals (keyboard suspend)

References handle_signal_suspend(), signal_aux, and void().

Referenced by close_game(), save_game(), and signals_init().

◆ signals_ignore_tstp()

void signals_ignore_tstp ( void  )

Ignore SIGTSTP signals (keyboard suspend)

References signal_aux, and void().

Referenced by close_game(), handle_signal_abort(), save_game(), and signals_init().

◆ signals_init()

void signals_init ( void  )

Prepare to handle the relevant signals.

SIGDANGER: This is not a common (POSIX, SYSV, BSD) signal, it is used by AIX(?) to signal that the system will soon be out of memory.

References handle_signal_abort(), handle_signal_simple(), handle_signal_suspend(), signal_aux, signals_handle_tstp(), signals_ignore_tstp(), signals_init(), and void().

Referenced by main(), and signals_init().

Variable Documentation

◆ signal_count

s16b signal_count

Referenced by handle_signal_simple(), and inkey_ex().