summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/include/signal.h
blob: 46de698d999b9962bb38fe48e8167af347bba66f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef SIGNAL_H
#define SIGNAL_H

#include "../../include/signal.h"

#ifdef __wasilibc_unmodified_upstream // WASI has no sigaction
hidden int __sigaction(int, const struct sigaction *, struct sigaction *);

hidden void __block_all_sigs(void *);
hidden void __block_app_sigs(void *);
hidden void __restore_sigs(void *);

hidden void __get_handler_set(sigset_t *);
#endif

#endif