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,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 */