openenvutils/commandshell/shell/inc/signals.epro
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 /* Generated automatically */
       
     2 #ifndef have_Src_signals_globals
       
     3 #define have_Src_signals_globals
       
     4 
       
     5 extern mod_import_variable int sigtrapped[VSIGCOUNT];
       
     6 extern mod_import_variable Eprog sigfuncs[VSIGCOUNT];
       
     7 extern mod_import_variable int nsigtrapped;
       
     8 extern mod_import_variable int queueing_enabled;
       
     9 extern mod_import_variable int queue_front;
       
    10 extern mod_import_variable int queue_rear;
       
    11 extern mod_import_variable int signal_queue[MAX_QUEUE_SIZE];
       
    12 extern mod_import_variable sigset_t signal_mask_queue[MAX_QUEUE_SIZE];
       
    13 extern mod_import_variable int trap_queueing_enabled;
       
    14 extern mod_import_variable int trap_queue_front;
       
    15 extern mod_import_variable int trap_queue_rear;
       
    16 extern mod_import_variable int trap_queue[MAX_QUEUE_SIZE];
       
    17 extern mod_import_function void install_handler _((int sig));
       
    18 extern mod_import_function void intr _((void));
       
    19 extern mod_import_function void holdintr _((void));
       
    20 extern mod_import_function void noholdintr _((void));
       
    21 extern sigset_t signal_mask _((int sig));
       
    22 #ifdef POSIX_SIGNALS
       
    23 extern mod_import_variable sigset_t dummy_sigset1;
       
    24 extern mod_import_variable sigset_t dummy_sigset2;
       
    25 #else
       
    26 #ifndef BSD_SIGNALS
       
    27 #endif /* BSD_SIGNALS */
       
    28 #endif /* POSIX_SIGNALS */
       
    29 extern mod_import_function sigset_t signal_setmask _((sigset_t set));
       
    30 extern int signal_suspend _((int sig,int sig2));
       
    31 extern mod_import_function RETSIGTYPE zhandler _((int sig));
       
    32 extern void killrunjobs _((int from_signal));
       
    33 extern int killjb _((Job jn,int sig));
       
    34 extern mod_import_function int settrap _((int sig,Eprog l));
       
    35 extern void unsettrap _((int sig));
       
    36 extern HashNode removetrap _((int sig));
       
    37 extern void starttrapscope _((void));
       
    38 extern void endtrapscope _((void));
       
    39 extern int intrap;
       
    40 extern int trapisfunc;
       
    41 extern void dotrapargs _((int sig,int*sigtr,void*sigfn));
       
    42 extern void dotrap _((int sig));
       
    43 
       
    44 #endif /* !have_Src_signals_globals */