6#ifndef ZEPHYR_INCLUDE_POSIX_SIGNAL_H_
7#define ZEPHYR_INCLUDE_POSIX_SIGNAL_H_
49#define SIGRTMAX (SIGRTMIN + RTSIG_MAX)
50#define _NSIG (SIGRTMAX + 1)
80#define SIG_DFL ((void *)0)
81#define SIG_IGN ((void *)1)
82#define SIG_ERR ((void *)-1)
120unsigned int alarm(
unsigned int seconds);
#define ZRESTRICT
Definition common.h:36
#define BITS_PER_LONG
Number of bits in a long int.
Definition util.h:61
#define DIV_ROUND_UP(n, d)
Divide and round up.
Definition util.h:359
int pthread_sigmask(int how, const sigset_t *ZRESTRICT set, sigset_t *ZRESTRICT oset)
int sigsuspend(const sigset_t *sigmask)
int sigismember(const sigset_t *set, int signo)
int sigwait(const sigset_t *ZRESTRICT set, int *ZRESTRICT signo)
int kill(pid_t pid, int sig)
int sigemptyset(sigset_t *set)
int sig_atomic_t
Definition signal.h:90
int sigaction(int sig, const struct sigaction *ZRESTRICT act, struct sigaction *ZRESTRICT oact)
int sigprocmask(int how, const sigset_t *ZRESTRICT set, sigset_t *ZRESTRICT oset)
int sigpending(sigset_t *set)
int sigfillset(sigset_t *set)
char * strsignal(int signum)
unsigned int alarm(unsigned int seconds)
void(* sighandler_t)(int signo)
Definition signal.h:118
int sigdelset(sigset_t *set, int signo)
int sigaddset(sigset_t *set, int signo)
sighandler_t signal(int signo, sighandler_t handler)
#define RTSIG_MAX
Definition posix_features.h:326
int pid_t
Definition posix_types.h:67
Definition posix_types.h:85
void(* sa_handler)(int signno)
Definition signal.h:112
void(* sa_sigaction)(int signo, siginfo_t *info, void *context)
Definition signal.h:115
sigset_t sa_mask
Definition signal.h:113
int sa_flags
Definition signal.h:114
pthread_attr_t * sigev_notify_attributes
Definition signal.h:99
int sigev_signo
Definition signal.h:102
union sigval sigev_value
Definition signal.h:100
int sigev_notify
Definition signal.h:101
void(* sigev_notify_function)(union sigval val)
Definition signal.h:98
int si_code
Definition signal.h:107
int si_signo
Definition signal.h:106
void * sival_ptr
Definition signal.h:93
int sival_int
Definition signal.h:94