signal: add sa_restorer to struct sigaction

Signed-off-by: guoshichao <guoshichao@xiaomi.com>
This commit is contained in:
guoshichao 2024-12-12 14:35:42 +08:00 committed by Alan C. Assis
parent 67b95d0142
commit 2b34c61c6e

View file

@ -410,8 +410,12 @@ struct sigaction
} sa_u;
sigset_t sa_mask;
int sa_flags;
union
{
CODE void (*sa_restorer)(void);
FAR void *sa_user; /* Passed to siginfo.si_user (non-standard) */
};
};
/* Definitions that adjust the non-standard naming */