Home
last modified time | relevance | path

Searched refs:sigset_t (Results 1 – 25 of 35) sorted by relevance

12

/bionic/libc/include/
Dsignal.h69 int sigaddset(sigset_t* __set, int __signal) __INTRODUCED_IN(21);
71 int sigdelset(sigset_t* __set, int __signal) __INTRODUCED_IN(21);
73 int sigemptyset(sigset_t* __set) __INTRODUCED_IN(21);
75 int sigfillset(sigset_t* __set) __INTRODUCED_IN(21);
77 int sigismember(const sigset_t* __set, int __signal) __INTRODUCED_IN(21);
83 int sigpending(sigset_t* __set);
85 int sigprocmask(int __how, const sigset_t* __new_set, sigset_t* __old_set);
87 int sigsuspend(const sigset_t* __mask);
89 int sigwait(const sigset_t* __set, int* __signal);
120 int pthread_sigmask(int __how, const sigset_t* __new_set, sigset_t* __old_set);
[all …]
Dspawn.h65 int posix_spawnattr_setsigmask(posix_spawnattr_t* __attr, const sigset_t* __mask) __INTRODUCED_IN(2…
67 int posix_spawnattr_getsigmask(const posix_spawnattr_t* __attr, sigset_t* __mask) __INTRODUCED_IN(2…
70 int posix_spawnattr_setsigdefault(posix_spawnattr_t* __attr, const sigset_t* __mask) __INTRODUCED_I…
72 int posix_spawnattr_getsigdefault(const posix_spawnattr_t* __attr, sigset_t* __mask) __INTRODUCED_I…
Dpoll.h64 …_fds, nfds_t __count, const struct timespec* _Nullable __timeout, const sigset_t* _Nullable __mask…
/bionic/libc/include/android/
Dlegacy_signal_inlines.h62 static __inline int sigismember(const sigset_t *set, int signum) { in sigismember()
66 if (set == NULL || bit < 0 || bit >= (int)(8 * sizeof(sigset_t))) { in sigismember()
73 static __inline int sigaddset(sigset_t *set, int signum) { in sigaddset()
77 if (set == NULL || bit < 0 || bit >= (int)(8 * sizeof(sigset_t))) { in sigaddset()
85 static __inline int sigdelset(sigset_t *set, int signum) { in sigdelset()
89 if (set == NULL || bit < 0 || bit >= (int)(8 * sizeof(sigset_t))) { in sigdelset()
97 static __inline int sigemptyset(sigset_t *set) { in sigemptyset()
102 memset(set, 0, sizeof(sigset_t)); in sigemptyset()
106 static __inline int sigfillset(sigset_t *set) { in sigfillset()
111 memset(set, ~0, sizeof(sigset_t)); in sigfillset()
/bionic/tests/headers/posix/
Dsignal_h.c105 STRUCT_MEMBER(struct sigaction, sigset_t, sa_mask); in signal_h()
131 STRUCT_MEMBER(ucontext_t, sigset_t, uc_sigmask); in signal_h()
206 FUNCTION(pthread_sigmask, int (*f)(int, const sigset_t*, sigset_t*)); in signal_h()
209 FUNCTION(sigaddset, int (*f)(sigset_t*, int)); in signal_h()
211 FUNCTION(sigdelset, int (*f)(sigset_t*, int)); in signal_h()
212 FUNCTION(sigemptyset, int (*f)(sigset_t*)); in signal_h()
213 FUNCTION(sigfillset, int (*f)(sigset_t*)); in signal_h()
217 FUNCTION(sigismember, int (*f)(const sigset_t*, int)); in signal_h()
220 FUNCTION(sigpending, int (*f)(sigset_t*)); in signal_h()
221 FUNCTION(sigprocmask, int (*f)(int, const sigset_t*, sigset_t*)); in signal_h()
[all …]
Dspawn_h.c40 TYPE(sigset_t); in spawn_h()
62 FUNCTION(posix_spawnattr_getsigdefault, int (*f)(const posix_spawnattr_t*, sigset_t*)); in spawn_h()
63 FUNCTION(posix_spawnattr_getsigmask, int (*f)(const posix_spawnattr_t*, sigset_t*)); in spawn_h()
68 FUNCTION(posix_spawnattr_setsigdefault, int (*f)(posix_spawnattr_t*, const sigset_t*)); in spawn_h()
69 FUNCTION(posix_spawnattr_setsigmask, int (*f)(posix_spawnattr_t*, const sigset_t*)); in spawn_h()
Dsys_select_h.c41 TYPE(sigset_t); in sys_select_h()
60 …FUNCTION(pselect, int (*f)(int, fd_set*, fd_set*, fd_set*, const struct timespec*, const sigset_t*… in sys_select_h()
/bionic/libc/bionic/
Dsignal.cpp49 int pthread_sigmask(int how, const sigset_t* new_set, sigset_t* old_set) { in pthread_sigmask()
71 int sigaddset(sigset_t* set, int sig) { in sigaddset()
100 int sigdelset(sigset_t* set, int sig) { in sigdelset()
118 int sigemptyset(sigset_t* set) { in sigemptyset()
136 int sigfillset(sigset_t* set) { in sigfillset()
177 int sigismember(const sigset_t* set, int sig) { in sigismember()
200 int sigpending(sigset_t* bionic_set) { in sigpending()
257 int sigsuspend(const sigset_t* bionic_set) { in sigsuspend()
273 int sigtimedwait(const sigset_t* bionic_set, siginfo_t* info, const timespec* timeout) { in sigtimedwait()
289 int sigwait(const sigset_t* bionic_set, int* sig) { in sigwait()
[all …]
Dsigprocmask.cpp45 const sigset_t* bionic_new_set, in sigprocmask()
46 sigset_t* bionic_old_set) __attribute__((__noinline__)) { in sigprocmask()
Dspawn.cpp214 int posix_spawnattr_setsigmask(posix_spawnattr_t* attr, const sigset_t* mask) { in posix_spawnattr_setsigmask()
224 int posix_spawnattr_getsigmask(const posix_spawnattr_t* attr, sigset_t* mask) { in posix_spawnattr_getsigmask()
234 int posix_spawnattr_setsigdefault(posix_spawnattr_t* attr, const sigset_t* mask) { in posix_spawnattr_setsigdefault()
244 int posix_spawnattr_getsigdefault(const posix_spawnattr_t* attr, sigset_t* mask) { in posix_spawnattr_getsigdefault()
Dpoll.cpp51 int ppoll(pollfd* fds, nfds_t fd_count, const timespec* ts, const sigset_t* ss) { in ppoll()
100 const timespec* ts, const sigset_t* ss) { in pselect()
Dsys_signalfd.cpp35 int signalfd(int fd, const sigset_t* mask, int flags) { in signalfd()
/bionic/tests/
Dsignal_test.cpp163 sigset_t just_SIGALRM; in TEST()
171 sigset_t pending; in TEST()
190 sigset_t not_SIGALRM; in TEST()
399 sigset_t sigset_libc; in TEST()
417 sigset_t sigset_libc; in TEST()
435 sigset_t sigset_libc; in TEST()
453 sigset_t sigset_libc; in TEST()
471 sigset_t sigset_libc; in TEST()
489 sigset_t sigset_libc; in TEST()
605 sigset_t mask; in TEST()
[all …]
Dspawn_test.cpp86 sigset_t sigs; in TEST()
90 sigset_t just_SIGALRM; in TEST()
124 sigset_t sigs; in TEST()
128 sigset_t just_SIGALRM; in TEST()
386 sigset_t just_SIGBUS; in TEST()
395 sigset_t just_SIGALRM; in TEST()
431 sigset_t just_SIGALRM; in TEST()
480 sigset_t empty_mask = {}; in TEST()
/bionic/libc/include/bits/
Dsignal_types.h62 typedef sigset_t sigset64_t;
75 sigset_t sa_mask; \
93 sigset_t sa_mask;
/bionic/libc/kernel/uapi/asm-x86/asm/
Dsignal.h27 typedef unsigned long sigset_t; typedef
85 sigset_t sa_mask;
96 sigset_t sa_mask;
/bionic/libc/include/sys/
Ducontext.h92 sigset_t uc_sigmask;
118 sigset_t uc_sigmask;
122 char __padding[128 - sizeof(sigset_t)];
207 sigset_t uc_sigmask;
310 sigset_t uc_sigmask;
Dsignalfd.h51 int signalfd(int __fd, const sigset_t* __mask, int __flags) __INTRODUCED_IN(18);
/bionic/libc/kernel/uapi/asm-arm64/asm/
Ducontext.h26 sigset_t uc_sigmask;
27 __u8 __linux_unused[1024 / 8 - sizeof(sigset_t)];
/bionic/libc/kernel/uapi/asm-arm/asm/
Dsignal.h24 typedef unsigned long sigset_t; typedef
81 sigset_t sa_mask;
/bionic/libc/kernel/uapi/asm-generic/
Dsignal.h79 } sigset_t; typedef
91 sigset_t sa_mask;
Ducontext.h26 sigset_t uc_sigmask;
/bionic/docs/
D32-bit-abi.md66 ## `sigset_t` is too small for real-time signals
68 On 32-bit Android, `sigset_t` is too small for ARM and x86. This means that
71 that takes a `sigset_t` (so `sigprocmask64` takes a `sigset64_t` where
72 `sigprocmask` takes a `sigset_t`).
75 a `sigset_t`. We also offer a `struct sigaction64` and `sigaction64` function
78 In the 64-bit ABI, `sigset_t` is the correct size for every architecture.
/bionic/libc/include/bits/fortify/
Dpoll.h34 int __ppoll_chk(struct pollfd*, nfds_t, const struct timespec*, const sigset_t*, size_t) __INTRODUC…
59 …onst fds __pass_object_size, nfds_t fd_count, const struct timespec* timeout, const sigset_t* mask) in ppoll()
/bionic/libc/private/
DSigSetConverter.h33 sigset_t sigset;

12