mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
signal: add sa_restorer to struct sigaction
Signed-off-by: guoshichao <guoshichao@xiaomi.com>
This commit is contained in:
committed by
Alan C. Assis
parent
67b95d0142
commit
2b34c61c6e
+5
-1
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user