Searched refs:fifo_path (Results 1 – 3 of 3) sorted by relevance
/netbsd-src/tests/lib/libc/sys/ |
H A D | t_poll.c | 238 static const char fifo_path[] = "pollhup_fifo"; variable 244 if (mkfifo(fifo_path, 0600) == 0) { in fifo_support() 245 ATF_REQUIRE(unlink(fifo_path) == 0); in fifo_support() 272 ATF_REQUIRE(mkfifo(fifo_path, 0600) == 0); in ATF_TC_BODY() 273 ATF_REQUIRE((rfd = open(fifo_path, O_RDONLY | O_NONBLOCK)) >= 0); in ATF_TC_BODY() 274 ATF_REQUIRE((wfd = open(fifo_path, O_WRONLY | O_NONBLOCK)) >= 0); in ATF_TC_BODY() 360 (void)unlink(fifo_path); in ATF_TC_CLEANUP() 377 ATF_REQUIRE(mkfifo(fifo_path, 0600) == 0); in ATF_TC_BODY() 378 ATF_REQUIRE((rfd = open(fifo_path, O_RDONLY | O_NONBLOCK)) >= 0); in ATF_TC_BODY() 379 ATF_REQUIRE((wfd = open(fifo_path, O_WRONLY)) >= 0); in ATF_TC_BODY() [all …]
|
/netbsd-src/tests/kernel/kqueue/read/ |
H A D | t_fifo.c | 50 static const char fifo_path[] = "fifo"; variable 56 if (mkfifo(fifo_path, 0600) == 0) { in fifo_support() 57 ATF_REQUIRE(unlink(fifo_path) == 0); in fifo_support() 83 ATF_REQUIRE(mkfifo(fifo_path, 0600) == 0); in ATF_TC_BODY() 84 ATF_REQUIRE((rfd = open(fifo_path, O_RDONLY | O_NONBLOCK)) >= 0); in ATF_TC_BODY() 85 ATF_REQUIRE((wfd = open(fifo_path, O_WRONLY | O_NONBLOCK)) >= 0); in ATF_TC_BODY() 127 ATF_REQUIRE((wfd = open(fifo_path, O_WRONLY | O_NONBLOCK)) >= 0); in ATF_TC_BODY() 137 (void)unlink(fifo_path); in ATF_TC_CLEANUP()
|
/netbsd-src/tests/kernel/kqueue/write/ |
H A D | t_fifo.c | 50 static const char fifo_path[] = "fifo"; variable 56 if (mkfifo(fifo_path, 0600) == 0) { in fifo_support() 57 ATF_REQUIRE(unlink(fifo_path) == 0); in fifo_support() 83 ATF_REQUIRE(mkfifo(fifo_path, 0600) == 0); in ATF_TC_BODY() 84 ATF_REQUIRE((rfd = open(fifo_path, O_RDONLY | O_NONBLOCK)) >= 0); in ATF_TC_BODY() 85 ATF_REQUIRE((wfd = open(fifo_path, O_WRONLY | O_NONBLOCK)) >= 0); in ATF_TC_BODY() 142 (void)unlink(fifo_path); in ATF_TC_CLEANUP()
|