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 217 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 243 of file cquit.c.

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 237 of file cquit.c.

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


Variable Documentation

sig_atomic_t octave_exception_state = 0
sig_atomic_t octave_interrupt_immediately = 0

Definition at line 248 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 254 of file cquit.c.

Referenced by recover_from_exception(), and user_abort().

sigset_t octave_signal_mask [static]

Definition at line 234 of file cquit.c.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines