forked from nuttx/nuttx-update
signal: add sa_restorer to struct sigaction
Signed-off-by: guoshichao <guoshichao@xiaomi.com>
This commit is contained in:
parent
67b95d0142
commit
2b34c61c6e
1 changed files with 5 additions and 1 deletions
|
@ -410,7 +410,11 @@ struct sigaction
|
|||
} sa_u;
|
||||
sigset_t sa_mask;
|
||||
int sa_flags;
|
||||
FAR void *sa_user; /* Passed to siginfo.si_user (non-standard) */
|
||||
union
|
||||
{
|
||||
CODE void (*sa_restorer)(void);
|
||||
FAR void *sa_user; /* Passed to siginfo.si_user (non-standard) */
|
||||
};
|
||||
};
|
||||
|
||||
/* Definitions that adjust the non-standard naming */
|
||||
|
|
Loading…
Reference in a new issue