mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 05:08:41 +08:00
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;
|
} sa_u;
|
||||||
sigset_t sa_mask;
|
sigset_t sa_mask;
|
||||||
int sa_flags;
|
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 */
|
/* Definitions that adjust the non-standard naming */
|
||||||
|
|
Loading…
Reference in a new issue