OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sigpause
(Results
1 - 16
of
16
) sorted by null
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/
40-1-buildonly.c
4
int
sigpause
(int);
15
dummyvar =
sigpause
;
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigpause/
4-1.c
8
This program verifies that
sigpause
() returns -1 and sets errno to EINVAL
37
return_value =
sigpause
(-1);
40
printf("Test PASSED:
sigpause
returned -1 and "
44
printf("Test FAILED:
sigpause
did not set errno "
49
printf("Test FAILED:
sigpause
did not return -1\n");
51
printf("Test FAILED:
sigpause
did not set errno "
1-1.c
8
This program verifies that
sigpause
() removes sig from the signal mask.
13
sigpause
().
49
sigpause
(SIGTOTEST);
1-2.c
8
This program verifies that
sigpause
() suspends the calling process
14
sigpause
().
16
variable hasn't been set yet. If it has, that means that
sigpause
20
sigpause
returned from suspension.
49
sigpause
(SIGTOTEST);
67
printf("Test FAILED:
sigpause
returned before "
81
printf("Test FAILED: signal was sent, but
sigpause
"
3-1.c
8
This program verifies that
sigpause
() returns -1 and sets errno to EINTR
14
sigpause
().
15
2. From the main() thread, send signal to new thread to make
sigpause
return.
16
3. Verify that
sigpause
returns -1 and sets errno to EINTR.
49
return_value =
sigpause
(SIGTOTEST);
52
printf("Test PASSED:
sigpause
returned -1 "
56
printf("Test FAILED:
sigpause
did not "
62
printf("Test FAILED:
sigpause
did not return -1\n");
64
printf("Test FAILED:
sigpause
did not set errno to EINTR\n");
65
printf("Test FAILED:
sigpause
did not return -1\n")
[
all
...]
2-1.c
8
This program verifies that
sigpause
() restores sig to the signal mask before
14
mask and to suspend itself using
sigpause
(SIGTOTEST).
17
3. Once the new thread returns from
sigpause
, have the new thread raise
66
if ((
sigpause
(SIGTOTEST) != -1) || (errno != EINTR)) {
67
printf("Test UNRESOLVED:
sigpause
didn't return -1 "
79
"
sigpause
returned.");
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/killpg/
1-2.c
62
sigpause
(SIGABRT);
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/
signal.h
160
/* The `
sigpause
' function has two different interfaces. The original
173
extern int
sigpause
(int __mask) __THROW __attribute_deprecated__;
177
extern int
sigpause
(int __sig) __asm__ ("__xpg_sigpause");
180
# define
sigpause
(sig) __sigpause ((sig), 1)
macro
/bionic/libc/include/
signal.h
97
int
sigpause
(int __signal)
/external/libpcap/lbl/
os-sunos4.h
152
int
sigpause
(int);
/external/tcpdump/lbl/
os-sunos4.h
154
int
sigpause
(int);
/bionic/tests/headers/posix/
signal_h.c
219
FUNCTION(
sigpause
, int (*f)(int));
/bionic/libc/bionic/
signal.cpp
193
int
sigpause
(int sig) {
function
/bionic/tests/
signal_test.cpp
791
ASSERT_EQ(-1,
sigpause
(99999));
797
ASSERT_EQ(-1,
sigpause
(99999));
815
// ... until
sigpause
(SIGALRM/SIGRTMIN) temporarily unblocks it.
816
ASSERT_EQ(-1,
sigpause
(sig));
821
// But
sigpause
(SIGALRM/SIGRTMIN) shouldn't permanently unblock SIGALRM/SIGRTMIN.
/external/ltp/testcases/kernel/syscalls/fcntl/
fcntl14.c
854
sigpause
(SIGUSR1);
1105
(void)
sigpause
(SIGUSR1);
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
pthread.h
486
#define
sigpause
(...) (pthread_testcancel(),
sigpause
(__VA_ARGS__))
macro
[
all
...]
Completed in 170 milliseconds