GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
cquit.c File Reference
#include <signal.h>
#include <string.h>
#include "quit.h"
Include dependency graph for cquit.c:

Go to the source code of this file.

Functions

void octave_jump_to_enclosing_context (void)
 
void octave_restore_current_context (void *save_buf)
 
void octave_restore_signal_mask (void)
 
void octave_save_current_context (void *save_buf)
 
void octave_save_signal_mask (void)
 

Variables

octave_jmp_buf current_context
 
sig_atomic_t octave_exception_state = 0
 
sig_atomic_t octave_interrupt_immediately = 0
 
sig_atomic_t octave_interrupt_state = 0
 
volatile sig_atomic_t octave_signal_caught = 0
 
static sigset_t octave_signal_mask
 

Function Documentation

void octave_jump_to_enclosing_context ( void  )

Definition at line 47 of file cquit.c.

References current_context.

Referenced by F77_FUNC(), and user_abort().

void octave_restore_current_context ( void *  save_buf)

Definition at line 41 of file cquit.c.

References current_context.

void octave_restore_signal_mask ( void  )

Definition at line 73 of file cquit.c.

References octave_signal_mask.

Referenced by recover_from_exception().

void octave_save_current_context ( void *  save_buf)

Definition at line 35 of file cquit.c.

References current_context.

void octave_save_signal_mask ( void  )

Definition at line 67 of file cquit.c.

References octave_signal_mask.

Referenced by execute_command_line_file(), execute_eval_option_code(), and main_loop().

Variable Documentation

octave_jmp_buf current_context
sig_atomic_t octave_exception_state = 0
sig_atomic_t octave_interrupt_immediately = 0

Definition at line 78 of file cquit.c.

Referenced by recover_from_exception(), and user_abort().

sig_atomic_t octave_interrupt_state = 0
volatile sig_atomic_t octave_signal_caught = 0

Definition at line 84 of file cquit.c.

Referenced by recover_from_exception(), and user_abort().

sigset_t octave_signal_mask
static

Definition at line 64 of file cquit.c.

Referenced by octave_restore_signal_mask(), and octave_save_signal_mask().