/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/ |
H A D | 11-1.c | 10 * Test that mq_timedsend() returns errno == EBADF if mqdes is not a valid 21 #include <errno.h> 51 if (errno != EBADF) { in main() 52 printf("errno != EBADF\n"); in main()
|
H A D | 11-2.c | 10 * Test that mq_timedsend() returns errno == EBADF if mqdes is not open for 21 #include <errno.h> 51 if (errno != EBADF) { in main() 52 printf("errno != EBADF\n"); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/ |
H A D | 7-1.c | 8 * Test that nanosleep() sets errno to EINTR if it is interrupted by a signal. 10 * errno = EINTR, return success from the child. 17 #include <errno.h> 51 if (EINTR == errno) { in main() 52 printf("errno == EINTR\n"); in main() 55 printf("errno != EINTR\n"); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/raise/ |
H A D | 10000-1.c | 31 * errno to EINVAL. 41 #include <errno.h> 91 if (EINVAL == errno) { in main() 92 printf("errno correctly set\n"); in main() 94 printf("errno not correctly set\n"); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
H A D | 5-1.c | 16 #include <errno.h> 56 } else if (result == -1 && errno == EPERM) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/ |
H A D | 15-1.c | 19 #include <errno.h> 61 if (errno == EPERM) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
H A D | 18-1.c | 27 #include <errno.h> 47 if (result != 0 && errno != ENOENT) { in main()
|
H A D | 39-2.c | 10 * Test that the shm_open() function sets errno = ENAMETOOLONG if the length 21 #include <errno.h> 48 if (fd == -1 && errno == ENAMETOOLONG) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/ |
H A D | 6-1.c | 8 Test that sigtimedwait() sets errno to [EAGAIN] if no signal specified by 25 4. Verify that sigtimedwait() sets errno to [EAGAIN]. 35 #include <errno.h> 97 if (errno != EAGAIN) { in main() 98 printf("Test FAILED: sigtimedwait() did set errno to EAGAIN\n"); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/speculative/ |
H A D | 2-1.c | 14 #include <errno.h> 58 if (errno == EAGAIN) in main()
|
/third_party/ltp/testcases/open_posix_testsuite/include/ |
H A D | affinity.h | 102 #include <errno.h> 106 errno = ENOSYS; in set_affinity_single()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_read/ |
H A D | 10-1.c | 20 * - check return code and errno 29 #include <errno.h> 70 printf(TNAME " errno is not EBADF %s\n", strerror(errno)); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_close/ |
H A D | 4-1.c | 12 and verifying that mq_notify returns -1 and sets errno to EBADF 20 #include <errno.h> 56 if (errno != EBADF) { in main() 57 printf("errno != EBADF\n"); in main()
|
H A D | 3-1.c | 23 #include <errno.h> 59 if (errno != EBADF) { in main() 60 printf("errno != EBADF\n"); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/ |
H A D | 23-1.c | 21 #include <errno.h> 58 if (errno != EEXIST) { in main() 59 printf("errno != EEXIST\n"); in main() 66 printf("errno == EEXIST\n"); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/ |
H A D | 10-2.c | 10 * Test that the shm_unlink() function sets errno = ENAMETOOLONG if the length 21 #include <errno.h> 53 if (result == -1 && errno == ENAMETOOLONG) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigset/ |
H A D | 7-1.c | 28 #include <errno.h> 32 #define ERR_MSG(f, rc) printf("Failed: func: %s rc: %u errno: %s\n", \ 33 f, rc, strerror(errno))
|
H A D | 6-1.c | 23 #include <errno.h> 27 #define ERR_MSG(f, rc) printf("Failed: func: %s rc: %u errno: %s\n", \ 28 f, rc, strerror(errno))
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | name_to_handle_at.c | 16 #include <errno.h> 45 if (name_to_handle_at(dirfd, pathname, fhp, &mount_id, flags) != -1 || errno != EOVERFLOW) { in name_to_handle_at_0100()
|
/third_party/musl/libc-test/src/functionalext/fortify/ |
H A D | stat_ext.c | 15 #include <errno.h> 55 t_error("fork failed: %s\n", strerror(errno)); in umask_0020()
|
/third_party/musl/libc-test/src/functionalext/supplement/time/ |
H A D | timer_delete.c | 16 #include <errno.h> 69 if (timer_delete(timerid) == -1 && errno == EINVAL) { in timer_delete_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | linkat.c | 65 EXPECT_EQ("linkat_0200", errno, EEXIST); in linkat_0200() 78 EXPECT_EQ("linkat_0300", errno, EINVAL); in linkat_0300()
|
/third_party/node/deps/uv/src/unix/ |
H A D | random-sysctl-linux.c | 25 #include <errno.h> 72 return UV__ERR(errno); in uv__random_sysctl()
|
/third_party/pulseaudio/src/modules/ |
H A D | module-esound-compat-spawnfd.c | 25 #include <errno.h> 61 pa_log_warn("write(%u, 1, 1) failed: %s", fd, pa_cstrerror(errno)); in pa__init()
|
H A D | module-esound-compat-spawnpid.c | 26 #include <errno.h> 60 pa_log_warn("kill(%u) failed: %s", pid, pa_cstrerror(errno)); in pa__init()
|