Lines Matching refs:fifoname
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()
155 openfifo_rw(const char *fifoname, int *fdp) in openfifo_rw() argument
159 fd = open(fifoname, O_RDWR); in openfifo_rw()