Home | History | Annotate | Download | only in read

Lines Matching defs:fifo

28  *	Create a named pipe (fifo), open it in O_NONBLOCK mode, and
56 char fifo[100] = "fifo";
113 sprintf(fifo, "%s.%d", fifo, getpid());
118 if (mknod(fifo, S_IFIFO | 0777, 0) < 0) {
121 if (stat(fifo, &buf) != 0) {
125 tst_brkm(TBROK, cleanup, "Mode does not indicate fifo file");
128 rfd = open(fifo, O_RDONLY | O_NONBLOCK);
129 wfd = open(fifo, O_WRONLY | O_NONBLOCK);
141 unlink(fifo);