Lines Matching defs:errno

37 #include <errno.h>
58 "mkstemp failed; errno=%d", errno);
60 "unlink failed; errno=%d", errno);
73 ATF_CHECK_MSG(error == errno,
74 "shm_open didn't fail with expected errno; errno=%d; expected "
75 "errno=%d", errno, error);
86 ATF_CHECK_MSG(error == errno,
87 "shm_unlink didn't fail with expected errno; errno=%d; expected "
88 "errno=%d", errno, error);
106 if (fd < 0 && errno == EEXIST) {
112 atf_tc_fail("shm_open failed; errno=%d", errno);
114 atf_tc_fail("ftruncate failed; errno=%d", errno);
118 atf_tc_fail("mmap failed; errno=%d", errno);
121 ATF_REQUIRE_MSG(munmap(page, pagesize) == 0, "munmap failed; errno=%d",
122 errno);
139 atf_tc_fail("mmap(2) failed; errno=%d", errno);
145 ATF_REQUIRE_MSG(munmap(page, pagesize) == 0, "munmap failed; errno=%d",
146 errno);
149 "shm_unlink failed; errno=%d", errno);
165 atf_tc_fail("shm_open(2) failed; errno=%d", errno);
169 atf_tc_fail("mmap(2) failed; errno=%d", errno);
174 ATF_REQUIRE_MSG(munmap(page, pagesize) == 0, "munmap failed; errno=%d",
175 errno);
178 "shm_unlink failed; errno=%d", errno);
192 ATF_REQUIRE_MSG(fd >= 0, "shm_open failed; errno=%d", errno);
199 if (errno != EACCES)
201 "errno=%d", errno);
205 "shm_unlink failed; errno=%d", errno);
216 ATF_REQUIRE_MSG(fd >= 0, "shm_open(1) failed; errno=%d", errno);
220 errno);
256 ATF_REQUIRE_MSG(fd >= 0, "shm_open failed; errno=%d", errno);
301 ATF_REQUIRE_MSG(fd >= 0, "shm_open failed; errno=%d", errno);
308 "shm_unlink failed; errno=%d", errno);
321 ATF_REQUIRE_MSG(fd >= 0, "shm_open(1) failed; errno=%d", errno);
323 "ftruncate failed; errno=%d", errno);
325 "fstat(1) failed; errno=%d", errno);
331 ATF_REQUIRE_MSG(fd >= 0, "shm_open(2) failed; errno=%d", errno);
333 "fstat(2) failed; errno=%d", errno);
338 "shm_unlink failed; errno=%d", errno);
373 atf_tc_fail("shm_open failed; errno=%d", errno);
376 atf_tc_fail("ftruncate(1) failed; errno=%d", errno);
379 atf_tc_fail("fstat(1) failed; errno=%d", errno);
392 ATF_REQUIRE_MSG(munmap(page, pagesize) == 0, "munmap failed; errno=%d",
393 errno);
397 atf_tc_fail("ftruncate(2) failed; errno=%d", errno);
400 atf_tc_fail("fstat(2) failed; errno=%d", errno);
409 atf_tc_fail("mmap(2) failed; errno=%d", errno);
419 atf_tc_fail("ftruncate(3) failed; errno=%d", errno);
422 atf_tc_fail("fstat(3) failed; errno=%d", errno);
434 atf_tc_fail("fork failed; errno=%d", errno);
456 atf_tc_fail("wait failed; errno=%d", errno);
463 atf_tc_fail("ftruncate(2) failed; errno=%d", errno);
466 atf_tc_fail("fstat(2) failed; errno=%d", errno);
514 errno = 0;
516 if (scval == -1 && errno != 0) {
518 "errno=%d", errno);
526 errno = 0;
528 if (scval == -1 && errno != 0) {
529 atf_tc_fail("sysconf(_SC_PAGESIZE) failed; errno=%d", errno);
542 ATF_REQUIRE_MSG(desc >= 0, "shm_open failed; errno=%d", errno);
544 "shm_unlink failed; errno=%d", errno);
546 "ftruncate failed; errno=%d", errno);
549 ATF_REQUIRE_MSG(region != MAP_FAILED, "mmap failed; errno=%d", errno);
556 "sigaction failed; errno=%d", errno);
561 "sigprocmask failed; errno=%d", errno);
564 ATF_REQUIRE_MSG(rv != -1, "fork failed; errno=%d", errno);
607 ATF_REQUIRE_MSG(munmap(region, psize) == 0, "munmap failed; errno=%d",
608 errno);
621 ATF_REQUIRE_MSG(fd >= 0, "shm_open failed; errno=%d", errno);
627 ATF_REQUIRE_MSG(fd >= 0, "shm_open failed; errno=%d", errno);