GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
quit.cc File Reference
#include <cstring>
#include <ostream>
#include <sstream>
#include <new>
#include "quit.h"
Include dependency graph for quit.cc:

Go to the source code of this file.

Functions

void octave_handle_signal (void)
 

Variables

void(* octave_interrupt_hook )(void) = nullptr
 
sig_atomic_t octave_interrupt_state = 0
 
volatile sig_atomic_t octave_signal_caught = 0
 
void(* octave_signal_hook )(void) = nullptr
 

Function Documentation

◆ octave_handle_signal()

void octave_handle_signal ( void  )

Definition at line 101 of file quit.cc.

References octave_interrupt_state, and octave_signal_hook.

Variable Documentation

◆ octave_interrupt_hook

void(* octave_interrupt_hook) (void) ( void  ) = nullptr

Definition at line 43 of file quit.cc.

Referenced by interpreter::initialize().

◆ octave_interrupt_state

◆ octave_signal_caught

volatile sig_atomic_t octave_signal_caught = 0

Definition at line 40 of file quit.cc.

Referenced by generic_sig_handler(), and interpreter::recover_from_exception().

◆ octave_signal_hook

void(* octave_signal_hook) (void) ( void  ) = nullptr

Definition at line 42 of file quit.cc.

Referenced by interpreter::initialize(), and octave_handle_signal().