Searched refs:fifoname (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.0-release/tools/regression/fifo/fifo_misc/
H A Dfifo_misc.c63 makefifo(const char *fifoname, const char *testname) argument
66 if (mkfifo(fifoname, 0700) < 0)
67 err(-1, "%s: makefifo: mkfifo: %s", testname, fifoname);
71 cleanfifo(const char *fifoname, int fd1, int fd2) argument
78 (void)unlink(fifoname);
82 openfifo(const char *fifoname, const char *testname, int *reader_fdp, argument
87 fd1 = open(fifoname, O_RDONLY | O_NONBLOCK);
90 fd2 = open(fifoname, O_WRONLY | O_NONBLOCK);
/freebsd-10.0-release/tools/regression/fifo/fifo_io/
H A Dfifo_io.c101 makefifo(const char *fifoname, const char *testname) argument
104 if (mkfifo(fifoname, 0700) < 0)
105 err(-1, "%s: makefifo: mkfifo: %s", testname, fifoname);
109 cleanfifo2(const char *fifoname, int fd1, int fd2) argument
116 (void)unlink(fifoname);
120 cleanfifo3(const char *fifoname, int fd1, int fd2, int fd3) argument
125 cleanfifo2(fifoname, fd1, fd2);
133 openfifo(const char *fifoname, const char *testname, int *reader_fdp, argument
138 fd1 = open(fifoname, O_RDONLY | O_NONBLOCK);
141 fd2 = open(fifoname, O_WRONL
158 openfifo_rw(const char *fifoname, const char *testname, int *fdp) argument
[all...]

Completed in 122 milliseconds