mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:37:44 +00:00
Add sigset_t helper functions to LibC.
This commit is contained in:
parent
153ea704af
commit
46f0c28a4a
2 changed files with 48 additions and 1 deletions
|
@ -22,7 +22,12 @@ struct sigaction {
|
|||
|
||||
int kill(pid_t, int sig);
|
||||
sighandler_t signal(int sig, sighandler_t);
|
||||
int sigaction(int signum, const struct sigaction* act, struct sigaction* old_act);
|
||||
int sigaction(int sig, const struct sigaction* act, struct sigaction* old_act);
|
||||
int sigemptyset(sigset_t*);
|
||||
int sigfillset(sigset_t*);
|
||||
int sigaddset(sigset_t*, int sig);
|
||||
int sigdelset(sigset_t*, int sig);
|
||||
int sigismember(const sigset_t*, int sig);
|
||||
|
||||
#define SIG_DFL ((__sighandler_t)0)
|
||||
#define SIG_ERR ((__sighandler_t)-1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue