#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 "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 "sighandlers.h"
#include "sysdep.h"
#include "utils.h"
#include "variables.h"
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) |
static void | octave::fpe_sig_handler (int) |
OCTAVE_EXPORT octave_value_list | FSIG (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fsighup_dumps_octave_core (const octave_value_list &args, int nargout) |
OCTAVE_EXPORT octave_value_list | Fsigquit_dumps_octave_core (const octave_value_list &args, int nargout) |
OCTAVE_EXPORT octave_value_list | Fsigterm_dumps_octave_core (const octave_value_list &args, int nargout) |
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 (const char *signame, sig_handler *handler, bool restart_syscalls) |
sig_handler * | octave::set_signal_handler (int sig, sig_handler *handler, bool restart_syscalls) |
Variables | |
bool | octave::can_interrupt = false |
int | octave::pipe_handler_error_count = 0 |
static bool * | octave::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 |
OCTAVE_EXPORT octave_value_list Fdebug_on_interrupt | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 528 of file sighandlers.cc.
References set_internal_variable(), and octave::Vdebug_on_interrupt.
OCTAVE_EXPORT octave_value_list FSIG | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 495 of file sighandlers.cc.
References m, octave::make_sig_struct(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list Fsighup_dumps_octave_core | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 558 of file sighandlers.cc.
References set_internal_variable(), and octave::Vsighup_dumps_octave_core.
OCTAVE_EXPORT octave_value_list Fsigquit_dumps_octave_core | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 589 of file sighandlers.cc.
References set_internal_variable(), and octave::Vsigquit_dumps_octave_core.
OCTAVE_EXPORT octave_value_list Fsigterm_dumps_octave_core | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 620 of file sighandlers.cc.
References set_internal_variable(), and octave::Vsigterm_dumps_octave_core.