HomeSort by relevance Sort by last modified time
    Searched refs:sigtimedwait (Results 1 - 25 of 33) sorted by null

1 2

  /external/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/
47-1-buildonly.c 4 int sigtimedwait(const sigset_t *restrict, siginfo_t *restrict,
18 dummyvar = sigtimedwait;
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/
4-1.c 8 * Test that the sigtimedwait() function shall return the selected signal
15 4. Call sigtimedwait() and verify that it returns the signal SIGTOTEST.
64 if (sigtimedwait(&selectset, NULL, &ts) != SIGTOTEST) {
65 perror("Call to sigtimedwait() failed\n");
5-1.c 8 Test that sigtimedwait() returns -1 upon unsuccessful completion.
11 sets a timer in case sigtimedwait() never returns, to help the program
20 (2.)Create and set a timer that expires in TIMERSEC seconds incase sigtimedwait()
22 3. Call sigtimedwait() to wait for non-pending signal SIGTOTEST for SIGTIMEDWAITSEC
24 4. Verify that sigtimedwait() returns a -1.
46 ("Test FAILED: %d seconds have elapsed and sigtimedwait() has not yet returned.\n",
91 if (sigtimedwait(&selectset, NULL, &ts) != -1) {
93 ("Test FAILED: sigtimedwait() did not return with an error\n");
6-1.c 8 Test that sigtimedwait() sets errno to [EAGAIN] if no signal specified by
12 sets a timer in case sigtimedwait() never returns, to help the program
21 (2.)Create and set a timer that expires in TIMERSEC seconds incase sigtimedwait()
23 3. Call sigtimedwait() to wait for non-pending signal SIGTOTEST for SIGTIMEDWAITSEC
25 4. Verify that sigtimedwait() sets errno to [EAGAIN].
48 ("Test FAILED: %d seconds have elapsed and sigtimedwait() has not yet returned.\n",
93 if (sigtimedwait(&selectset, NULL, &ts) != -1) {
94 printf("Test UNRESOLVED: sigtimedwait() did not return -1\n");
99 printf("Test FAILED: sigtimedwait() did set errno to EAGAIN\n");
1-1.c 9 the sigtimedwait() function shall wait for the time interval specified
13 sets a timer in case sigtimedwait() never returns, to help the program
22 (2.)Create and set a timer that expires in TIMERSEC seconds incase sigtimedwait()
25 4. Call sigtimedwait() to wait for signal SIGTOTEST that will never be pending
52 ("Test FAILED: %d seconds have elapsed and sigtimedwait() has not yet returned.\n",
104 if (sigtimedwait(&selectset, NULL, &ts) != -1) {
106 ("sigtimedwait() did not return -1 even though signal was not pending\n");
119 printf("Test FAILED: sigtimedwait() did not return in "
2-1.c 10 the sigtimedwait() function shall return immediately with an error.
13 sets a timer in case sigtimedwait() never returns, to help the program
22 (2.)Create and set a timer that expires in TIMERSEC seconds incase sigtimedwait()
25 4. Call sigtimedwait() to wait for non-pending signal SIGTOTEST for SIGTIMEDWAITSEC
53 ("Test FAILED: %d seconds have elapsed and sigtimedwait() has not yet returned.\n",
105 if (sigtimedwait(&selectset, NULL, &ts) != -1) {
107 ("Test FAILED: sigtimedwait() did not return with an error\n");
121 ("Test FAILED: sigtimedwait() did not return immediately\n");
  /bionic/tests/
ScopedSignalHandler.h 39 #define sigtimedwait64 sigtimedwait
signal_test.cpp 646 TEST(signal, sigtimedwait) {
663 ASSERT_EQ(SIGALRM, sigtimedwait(&just_SIGALRM, &info, &timeout));
707 ASSERT_EQ(-1, sigtimedwait(&just_SIGALRM, &info, &timeout));
  /external/ltp/testcases/kernel/syscalls/
Makefile 44 sigrelse sigsuspend sigtimedwait sigwait sigwaitinfo stime \
  /external/ltp/testcases/kernel/containers/pidns/
pidns13.c 63 /* sigtimedwait() traps siginfo details, so this wont be called */
118 /* Set timeout for sigtimedwait */
127 if (sigtimedwait(&newset, &info, &timeout) != SIGUSR1) {
128 tst_resm(TBROK, "cinit1: sigtimedwait() failed.");
  /bionic/libc/include/
signal.h 120 int sigtimedwait(const sigset_t* __set, siginfo_t* __info, const struct timespec* __timeout) __INTRODUCED_IN(23);
  /external/ltp/testcases/kernel/syscalls/fcntl/
fcntl33.c 171 TEST(sigtimedwait(&newset, NULL, &timeout));
181 tst_brkm(TBROK | TTERRNO, cleanup, "sigtimedwait() failed");
fcntl31.c 323 /* Wait for parent process to enter sigtimedwait(). */
356 ret = sigtimedwait(&newset, NULL, &timeout);
359 "sigtimedwait() failed.");
  /bionic/libc/bionic/
signal.cpp 272 int sigtimedwait(const sigset_t* bionic_set, siginfo_t* info, const timespec* timeout) { function
308 return sigtimedwait(set, info, nullptr);
  /bionic/tests/headers/posix/
signal_h.c 226 FUNCTION(sigtimedwait, int (*f)(const sigset_t*, siginfo_t*, const struct timespec*));
  /external/autotest/client/tests/monotonic_time/src/
time_test.c 278 while (sigtimedwait(&signals, NULL, timeout) < 0) {
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/
signal.h 293 extern int sigtimedwait (__const sigset_t *__restrict __set,
  /frameworks/native/cmds/dumpstate/
DumpstateUtil.cpp 59 int ret = TEMP_FAILURE_RETRY(sigtimedwait(&child_mask, NULL, &ts));
74 printf("*** sigtimedwait failed: %s\n", strerror(errno));
  /external/honggfuzz/linux/
arch.c 340 int sig = sigtimedwait(&sset_io_chld, NULL, &ts);
342 PLOG_F("sigtimedwait(SIGIO|SIGCHLD, 0.25s)");
  /external/ltp/testcases/kernel/syscalls/sigwaitinfo/
sigwaitinfo01.c 123 return sigtimedwait(set, info, timeout);
  /external/python/cpython3/Lib/test/eintrdata/
eintr_tester.py 377 @unittest.skipUnless(hasattr(signal, 'sigtimedwait'),
378 'need signal.sigtimedwait()')
381 signal.sigtimedwait([signal.SIGUSR1], self.sleep_time)
  /external/python/cpython3/Lib/test/
test_signal.py 760 @unittest.skipUnless(hasattr(signal, 'sigtimedwait'),
761 'need signal.sigtimedwait()')
766 info = signal.sigtimedwait([signum], 10.1000)
771 @unittest.skipUnless(hasattr(signal, 'sigtimedwait'),
772 'need signal.sigtimedwait()')
774 # check that polling with sigtimedwait works
779 info = signal.sigtimedwait([signum], 0)
784 @unittest.skipUnless(hasattr(signal, 'sigtimedwait'),
785 'need signal.sigtimedwait()')
789 received = signal.sigtimedwait([signum], 1.0
    [all...]
  /external/python/cpython3/Modules/
signalmodule.c 932 "struct_siginfo: Result from sigwaitinfo or sigtimedwait.\n\n\
1012 signal.sigtimedwait
1053 res = sigtimedwait(&set, &si, &ts);
1066 /* sigtimedwait() was interrupted by a signal (EINTR) */
    [all...]
  /prebuilts/go/darwin-x86/src/syscall/
zsysnum_dragonfly_amd64.go 208 SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set,\
zsysnum_freebsd_386.go 202 SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set, \

Completed in 482 milliseconds

1 2