Classes | Typedefs | Functions | Variables

sighandlers.h File Reference

#include <signal.h>
#include "syswait.h"
#include "siglist.h"
#include "base-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

class  octave_child
class  octave_child_list
class  octave_child_list::octave_child_list_rep
struct  octave_interrupt_handler

Typedefs

typedef void sig_handler (int)

Functions

OCTINTERP_API void install_signal_handlers (void)
OCTINTERP_API
octave_interrupt_handler 
octave_catch_interrupts (void)
OCTINTERP_API
octave_interrupt_handler 
octave_ignore_interrupts (void)
OCTINTERP_API
octave_interrupt_handler 
octave_set_interrupt_handler (const volatile octave_interrupt_handler &, bool restart_syscalls=true)
OCTINTERP_API sig_handleroctave_set_signal_handler (int, sig_handler *, bool restart_syscalls=true)
OCTINTERP_API void octave_signal_handler (void)

Variables

OCTINTERP_API bool can_interrupt
int pipe_handler_error_count

Typedef Documentation

typedef void sig_handler(int)

Definition at line 46 of file sighandlers.h.


Function Documentation

OCTINTERP_API void install_signal_handlers ( void   ) 
OCTINTERP_API octave_interrupt_handler octave_catch_interrupts ( void   ) 
OCTINTERP_API octave_interrupt_handler octave_ignore_interrupts ( void   ) 

Definition at line 493 of file sighandlers.cc.

References octave_set_signal_handler().

Referenced by do_edit_history(), octave_kbhit(), and octave_signal_handler().

OCTINTERP_API octave_interrupt_handler octave_set_interrupt_handler ( const volatile octave_interrupt_handler ,
bool  restart_syscalls = true 
)

Definition at line 509 of file sighandlers.cc.

References octave_set_signal_handler().

Referenced by do_edit_history(), octave_kbhit(), and octave_signal_handler().

OCTINTERP_API sig_handler* octave_set_signal_handler ( int  ,
sig_handler ,
bool  restart_syscalls = true 
)
OCTINTERP_API void octave_signal_handler ( void   ) 

Variable Documentation

OCTINTERP_API bool can_interrupt

Definition at line 58 of file sighandlers.cc.

Referenced by octave_gets().

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines