GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
sighandlers.h File Reference
#include "octave-config.h"
#include "child-list.h"
Include dependency graph for sighandlers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  interrupt_handler
 

Typedefs

typedef void sig_handler(int)
 

Functions

OCTINTERP_API interrupt_handler catch_interrupts (void)
 
OCTINTERP_API interrupt_handler ignore_interrupts (void)
 
OCTINTERP_API void install_signal_handlers (void)
 
OCTINTERP_API void respond_to_pending_signals (void)
 
OCTINTERP_API interrupt_handler set_interrupt_handler (const volatile interrupt_handler &h, bool restart_syscalls=true)
 
OCTINTERP_API sig_handlerset_signal_handler (const char *signame, sig_handler *h, bool restart_syscalls=true)
 
OCTINTERP_API sig_handlerset_signal_handler (int sig, sig_handler *h, bool restart_syscalls=true)
 

Variables

OCTINTERP_API bool can_interrupt
 
int pipe_handler_error_count
 
OCTINTERP_API bool Vdebug_on_interrupt
 

Typedef Documentation

◆ sig_handler

typedef void sig_handler(int)

Definition at line 46 of file sighandlers.h.

Function Documentation

◆ catch_interrupts()

◆ ignore_interrupts()

◆ install_signal_handlers()

◆ respond_to_pending_signals()

◆ set_interrupt_handler()

OCTINTERP_API interrupt_handler set_interrupt_handler ( const volatile interrupt_handler h,
bool  restart_syscalls = true 
)

◆ set_signal_handler() [1/2]

OCTINTERP_API sig_handler* set_signal_handler ( const char *  signame,
sig_handler h,
bool  restart_syscalls = true 
)

Definition at line 265 of file sighandlers.cc.

References octave_set_signal_handler_by_name().

◆ set_signal_handler() [2/2]

OCTINTERP_API sig_handler* set_signal_handler ( int  sig,
sig_handler h,
bool  restart_syscalls = true 
)

Variable Documentation

◆ can_interrupt

OCTINTERP_API bool can_interrupt
extern

◆ pipe_handler_error_count

int pipe_handler_error_count
extern

Definition at line 65 of file sighandlers.cc.

Referenced by respond_to_pending_signals().

◆ Vdebug_on_interrupt