MOS Source Code
Loading...
Searching...
No Matches
signal_types.h File Reference
#include <abi-bits/signal.h>
#include <mos/mos_global.h>
+ Include dependency graph for signal_types.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sigaction_t
 

Macros

#define SIGNAL_MAX_N   NSIG
 

Typedefs

typedef int signal_t
 

Functions

 MOS_STATIC_ASSERT (sizeof(sigaction_t)==24, "update sigaction_t struct size")
 
 MOS_STATIC_ASSERT (offsetof(struct sigaction, __sa_handler)==offsetof(sigaction_t, handler), "update sigaction_t struct layout")
 
 MOS_STATIC_ASSERT (offsetof(struct sigaction, sa_flags)==offsetof(sigaction_t, sa_flags), "update sigaction_t struct layout")
 
 MOS_STATIC_ASSERT (offsetof(struct sigaction, sa_restorer)==offsetof(sigaction_t, sa_restorer), "update sigaction_t struct layout")
 

Macro Definition Documentation

◆ SIGNAL_MAX_N

#define SIGNAL_MAX_N   NSIG

Definition at line 8 of file signal_types.h.

Referenced by sigset_add(), sigset_del(), and sigset_test().

Typedef Documentation

◆ signal_t

typedef int signal_t

Definition at line 9 of file signal_types.h.

Function Documentation

◆ MOS_STATIC_ASSERT() [1/4]

MOS_STATIC_ASSERT ( sizeof(sigaction_t) = =24,
"update sigaction_t struct size"  )

◆ MOS_STATIC_ASSERT() [2/4]

MOS_STATIC_ASSERT ( offsetof(struct sigaction, __sa_handler) = =offsetof(sigaction_t, handler),
"update sigaction_t struct layout"  )

◆ MOS_STATIC_ASSERT() [3/4]

MOS_STATIC_ASSERT ( offsetof(struct sigaction, sa_flags) = =offsetof(sigaction_t, sa_flags),
"update sigaction_t struct layout"  )

◆ MOS_STATIC_ASSERT() [4/4]

MOS_STATIC_ASSERT ( offsetof(struct sigaction, sa_restorer) = =offsetof(sigaction_t, sa_restorer),
"update sigaction_t struct layout"  )