mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 04:52:02 +08:00
sched/signal: Add sighandler_t typedef
improve the compatibility for glibc Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: I925e8cbea18848dfc75c97aa72a12b91810aa9e8
This commit is contained in:
committed by
Abdelatif Guettouche
parent
297c294c0f
commit
b3e01168db
@@ -335,6 +335,10 @@ typedef CODE void (*_sa_handler_t)(int signo);
|
||||
typedef CODE void (*_sa_sigaction_t)(int signo, FAR siginfo_t *siginfo,
|
||||
FAR void *context);
|
||||
|
||||
/* glibc definition of signal handling function types */
|
||||
|
||||
typedef _sa_handler_t sighandler_t;
|
||||
|
||||
/* The following structure defines the action to take for given signal */
|
||||
|
||||
struct sigaction
|
||||
|
||||
Reference in New Issue
Block a user