RTEMS CPU Kit with SuperCore  4.11.3
Data Structures | Macros
signalvar.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  sigacts
 

Macros

#define SAS_OLDMASK   0x01 /* need to restore mask before pause */
 
#define SAS_ALTSTACK   0x02 /* have alternate signal stack */
 
#define SIG_CATCH   ((__sighandler_t *)2)
 
#define SIG_HOLD   ((__sighandler_t *)3)
 
#define SIGACTION(p, sig)   (p->p_sigacts->ps_sigact[(sig)])
 
#define CURSIG(p)
 
#define CLRSIG(p, sig)   { (p)->p_siglist &= ~sigmask(sig); }
 
#define SA_KILL   0x01 /* terminates process by default */
 
#define SA_CORE   0x02 /* ditto and coredumps */
 
#define SA_STOP   0x04 /* suspend process */
 
#define SA_TTYSTOP   0x08 /* ditto, from tty */
 
#define SA_IGNORE   0x10 /* ignore by default */
 
#define SA_CONT   0x20 /* continue if suspended */
 
#define SA_CANTMASK   0x40 /* non-maskable, catchable */
 
#define sigcantmask   (sigmask(SIGKILL) | sigmask(SIGSTOP))
 

Macro Definition Documentation

◆ CURSIG

#define CURSIG (   p)
Value:
(((p)->p_siglist == 0 || \
(((p)->p_flag & P_TRACED) == 0 && \
((p)->p_siglist & ~(p)->p_sigmask) == 0)) ? \
0 : issignal(p))