GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
sighandlers.cc File Reference
#include <csignal>
#include <cstdlib>
#include <iostream>
#include <new>
#include "child-list.h"
#include "cmd-edit.h"
#include "oct-syscalls.h"
#include "quit.h"
#include "signal-wrappers.h"
#include "bp-table.h"
#include "defun.h"
#include "error.h"
#include "input.h"
#include "interpreter-private.h"
#include "interpreter.h"
#include "load-save.h"
#include "octave.h"
#include "oct-map.h"
#include "pager.h"
#include "pt-bp.h"
#include "pt-eval.h"
#include "sighandlers.h"
#include "sysdep.h"
#include "utils.h"
#include "variables.h"
Include dependency graph for sighandlers.cc:

Go to the source code of this file.

Namespaces

 octave
 

Functions

interrupt_handler octave::catch_interrupts (void)
 
static void octave::deadly_sig_handler (int sig)
 
OCTAVE_EXPORT octave_value_list Fdebug_on_interrupt (const octave_value_list &args, int nargout) a normal interrupt will occur. When called from inside a function with the code
 
static void octave::fpe_sig_handler (int)
 
OCTAVE_EXPORT octave_value_list FSIG (const octave_value_list &args, int)
 
static void octave::generic_sig_handler (int sig)
 
interrupt_handler octave::ignore_interrupts (void)
 
void octave::install_signal_handlers (void)
 
static octave_scalar_map octave::make_sig_struct (void)
 
static void octave::my_friendly_exit (int sig, bool save_vars=true)
 
void octave::respond_to_pending_signals (void)
 
interrupt_handler octave::set_interrupt_handler (const volatile interrupt_handler &h, bool restart_syscalls)
 
static void octave::set_sig_struct_field (octave_scalar_map &m, const char *signame)
 
sig_handler * octave::set_signal_handler (int sig, sig_handler *handler, bool restart_syscalls)
 
sig_handler * octave::set_signal_handler (const char *signame, sig_handler *handler, bool restart_syscalls)
 

Variables

bool octave::can_interrupt = false
 
 option
 
int octave::pipe_handler_error_count = 0
 
static booloctave::signals_caught = nullptr
 
bool octave::Vdebug_on_interrupt = false
 
static bool octave::Vsighup_dumps_octave_core = true
 
static bool octave::Vsigquit_dumps_octave_core = true
 
static bool octave::Vsigterm_dumps_octave_core = true
 

Function Documentation

◆ Fdebug_on_interrupt()

OCTAVE_EXPORT octave_value_list Fdebug_on_interrupt ( const octave_value_list args,
int  nargout 
)

Definition at line 529 of file sighandlers.cc.

◆ FSIG()

OCTAVE_EXPORT octave_value_list FSIG ( const octave_value_list args,
int   
)

Definition at line 496 of file sighandlers.cc.

References octave::make_sig_struct(), ovl(), and print_usage().

Variable Documentation

◆ option

option

Definition at line 529 of file sighandlers.cc.