OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
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
256
int
fifo_fd
= HANDLE_EINTR(open(fifo_path.c_str(), O_RDONLY));
local
257
EXPECT_GE(
fifo_fd
, 0);
260
fifo_fd
,
263
base::Bind([](int
fifo_fd
, uint32_t tag) {
265
EXPECT_EQ(1, HANDLE_EINTR(read(
fifo_fd
, &c, 1)));
269
},
fifo_fd
, tag));
280
EXPECT_EQ(0, HANDLE_EINTR(read(
fifo_fd
, &c, 1)));
281
IGNORE_EINTR(close(
fifo_fd
));
Completed in 116 milliseconds