Searched refs:signo (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/lib/posix/options/ |
D | signal.c | 19 static inline bool signo_valid(int signo) in signo_valid() argument 21 return ((signo > 0) && (signo < _NSIG)); in signo_valid() 24 static inline bool signo_is_rt(int signo) in signo_is_rt() argument 26 return ((signo >= SIGRTMIN) && (signo <= SIGRTMAX)); in signo_is_rt() 44 int sigaddset(sigset_t *set, int signo) in sigaddset() argument 46 if (!signo_valid(signo)) { in sigaddset() 51 WRITE_BIT(set->sig[SIGNO_WORD_IDX(signo)], SIGNO_WORD_BIT(signo), 1); in sigaddset() 56 int sigdelset(sigset_t *set, int signo) in sigdelset() argument 58 if (!signo_valid(signo)) { in sigdelset() 63 WRITE_BIT(set->sig[SIGNO_WORD_IDX(signo)], SIGNO_WORD_BIT(signo), 0); in sigdelset() [all …]
|
/Zephyr-latest/tests/posix/signals/src/ |
D | main.c | 57 int signo; in ZTEST() local 61 signo = SIGHUP; in ZTEST() 62 zassert_ok(sigaddset(&set, signo)); in ZTEST() 63 WRITE_BIT(target.sig[0], signo, 1); in ZTEST() 70 signo = SIGSYS; in ZTEST() 71 zassert_ok(sigaddset(&set, signo)); in ZTEST() 72 WRITE_BIT(target.sig[0], signo, 1); in ZTEST() 79 signo = SIGRTMIN; /* >=32, will be in the second sig set for 32bit */ in ZTEST() 80 zassert_ok(sigaddset(&set, signo)); in ZTEST() 82 WRITE_BIT(target.sig[0], signo, 1); in ZTEST() [all …]
|
/Zephyr-latest/include/zephyr/posix/ |
D | signal.h | 116 void (*sa_sigaction)(int signo, siginfo_t *info, void *context); 119 typedef void (*sighandler_t)(int signo); 124 int raise(int signo); 130 int sigwait(const sigset_t *ZRESTRICT set, int *ZRESTRICT signo); 134 int sigaddset(sigset_t *set, int signo); 135 int sigdelset(sigset_t *set, int signo); 136 int sigismember(const sigset_t *set, int signo); 137 sighandler_t signal(int signo, sighandler_t handler);
|
/Zephyr-latest/scripts/build/ |
D | gen_strsignal_table.py | 39 signo = int(match[2]) 45 highest_signo = max(int(signo), highest_signo)
|
/Zephyr-latest/tests/posix/headers/src/ |
D | signal_h.c | 24 typedef void *(*my_sig_handler_t)(int signo); in ZTEST()
|