HomeSort by relevance Sort by last modified time
    Searched refs:fifo_fd (Results 1 - 2 of 2) sorted by null

  /external/ltp/testcases/kernel/syscalls/fcntl/
fcntl07.c 69 static int file_fd, pipe_fds[2], fifo_fd; variable
80 {&fifo_fd, "fifo"},
173 fifo_fd = SAFE_OPEN(cleanup, FIFONAME, O_RDWR, 0666);
187 if (fifo_fd > 0 && close(fifo_fd))
188 tst_resm(TWARN | TERRNO, "close(fifo_fd) failed");
  /system/update_engine/common/
subprocess_unittest.cc 245 int fifo_fd = HANDLE_EINTR(open(fifo_path.c_str(), O_RDONLY)); local
246 EXPECT_GE(fifo_fd, 0);
249 fifo_fd,
252 base::Bind([](int fifo_fd, uint32_t tag) {
254 EXPECT_EQ(1, HANDLE_EINTR(read(fifo_fd, &c, 1)));
258 }, fifo_fd, tag));
269 EXPECT_EQ(0, HANDLE_EINTR(read(fifo_fd, &c, 1)));
270 IGNORE_EINTR(close(fifo_fd));

Completed in 204 milliseconds