Searched refs:fifoname (Results 1 – 2 of 2) sorted by relevance
/freebsd/tests/sys/fifo/ |
H A D | fifo_misc.c | 62 makefifo(const char *fifoname, const char *testname) in makefifo() argument 65 if (mkfifo(fifoname, 0700) < 0) in makefifo() 66 err(-1, "%s: makefifo: mkfifo: %s", testname, fifoname); in makefifo() 70 cleanfifo(const char *fifoname, int fd1, int fd2) in cleanfifo() argument 77 (void)unlink(fifoname); in cleanfifo() 81 openfifo(const char *fifoname, int *reader_fdp, int *writer_fdp) in openfifo() argument 85 fd1 = open(fifoname, O_RDONLY | O_NONBLOCK); in openfifo() 88 fd2 = open(fifoname, O_WRONLY | O_NONBLOCK); in openfifo()
|
H A D | fifo_io.c | 99 makefifo(const char *fifoname, const char *testname) in makefifo() argument 102 if (mkfifo(fifoname, 0700) < 0) in makefifo() 103 err(-1, "%s: makefifo: mkfifo: %s", testname, fifoname); in makefifo() 107 cleanfifo2(const char *fifoname, int fd1, int fd2) in cleanfifo2() argument 114 (void)unlink(fifoname); in cleanfifo2() 118 cleanfifo3(const char *fifoname, int fd1, int fd2, int fd3) in cleanfifo3() argument 123 cleanfifo2(fifoname, fd1, fd2); in cleanfifo3() 131 openfifo(const char *fifoname, int *reader_fdp, int *writer_fdp) in openfifo() argument 135 fd1 = open(fifoname, O_RDONLY | O_NONBLOCK); in openfifo() 138 fd2 = open(fifoname, O_WRONLY | O_NONBLOCK); in openfifo() [all …]
|