Home
last modified time | relevance | path

Searched refs:signo (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.7.0/lib/posix/options/
Dsignal.c19 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-Core-3.7.0/tests/posix/common/src/
Dsignal.c57 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-Core-3.7.0/include/zephyr/posix/
Dsignal.h98 int sigaddset(sigset_t *set, int signo);
99 int sigdelset(sigset_t *set, int signo);
100 int sigismember(const sigset_t *set, int signo);
/Zephyr-Core-3.7.0/scripts/build/
Dgen_strsignal_table.py39 signo = int(match[2])
45 highest_signo = max(int(signo), highest_signo)