#include <cstdlib>
#include <iostream>
#include <new>
#include "cmd-edit.h"
#include "oct-syscalls.h"
#include "quit.h"
#include "debug.h"
#include "defun.h"
#include "error.h"
#include "load-save.h"
#include "oct-map.h"
#include "pager.h"
#include "pt-bp.h"
#include "pt-eval.h"
#include "sighandlers.h"
#include "sysdep.h"
#include "syswait.h"
#include "toplev.h"
#include "utils.h"
#include "variables.h"
Classes | |
class | pid_equal |
Defines | |
#define | SIGHANDLER_RETURN(status) return status |
#define | MAYBE_REINSTALL_SIGHANDLER(sig, handler) do { } while (0) |
#define | MAYBE_ACK_SIGNAL(sig) do { } while (0) |
#define | OCL_REP octave_child_list::octave_child_list_rep |
Functions | |
void | octave_signal_handler (void) |
sig_handler * | octave_set_signal_handler (int sig, sig_handler *handler, bool restart_syscalls) |
octave_interrupt_handler | octave_catch_interrupts (void) |
octave_interrupt_handler | octave_ignore_interrupts (void) |
octave_interrupt_handler | octave_set_interrupt_handler (const volatile octave_interrupt_handler &h, bool restart_syscalls) |
void | install_signal_handlers (void) |
DEFUN (SIG, args,,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} SIG ()\n\ Return a structure containing Unix signal names and their defined values.\n\ @end deftypefn") | |
DEFUN (debug_on_interrupt, args, nargout,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {@var{val} =} debug_on_interrupt ()\n\ @deftypefnx {Built-in Function} {@var{old_val} =} debug_on_interrupt (@var{new_val})\n\ Query or set the internal variable that controls whether Octave will try\n\ to enter debugging mode when it receives an interrupt signal (typically\n\ generated with @kbd{C-c}). If a second interrupt signal is received\n\ before reaching the debugging mode, a normal interrupt will occur.\n\ @end deftypefn") | |
DEFUN (sighup_dumps_octave_core, args, nargout,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {@var{val} =} sighup_dumps_octave_core ()\n\ @deftypefnx {Built-in Function} {@var{old_val} =} sighup_dumps_octave_core (@var{new_val})\n\ Query or set the internal variable that controls whether Octave tries\n\ to save all current variables to the file \"octave-core\" if it receives\n\ a hangup signal.\n\ @end deftypefn") | |
DEFUN (sigterm_dumps_octave_core, args, nargout,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {@var{val} =} sigterm_dumps_octave_core ()\n\ @deftypefnx {Built-in Function} {@var{old_val} =} sigterm_dumps_octave_core (@var{new_val})\n\ Query or set the internal variable that controls whether Octave tries\n\ to save all current variables to the file \"octave-core\" if it receives\n\ a terminate signal.\n\ @end deftypefn") | |
Variables | |
int | pipe_handler_error_count = 0 |
bool | can_interrupt = false |
#define MAYBE_ACK_SIGNAL | ( | sig | ) | do { } while (0) |
#define MAYBE_REINSTALL_SIGHANDLER | ( | sig, | |||
handler | ) | do { } while (0) |
#define OCL_REP octave_child_list::octave_child_list_rep |
DEFUN | ( | sigterm_dumps_octave_core | , | |
args | , | |||
nargout | ||||
) |
DEFUN | ( | sighup_dumps_octave_core | , | |
args | , | |||
nargout | ||||
) |
DEFUN | ( | debug_on_interrupt | , | |
args | , | |||
nargout | ||||
) |
DEFUN | ( | SIG | , | |
args | ||||
) |
void install_signal_handlers | ( | void | ) |
octave_interrupt_handler octave_catch_interrupts | ( | void | ) |
octave_interrupt_handler octave_ignore_interrupts | ( | void | ) |
octave_interrupt_handler octave_set_interrupt_handler | ( | const volatile octave_interrupt_handler & | h, | |
bool | restart_syscalls | |||
) |
sig_handler* octave_set_signal_handler | ( | int | sig, | |
sig_handler * | handler, | |||
bool | restart_syscalls | |||
) |
void octave_signal_handler | ( | void | ) |
bool can_interrupt = false |