OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:err_fd
(Results
1 - 2
of
2
) sorted by null
/external/google-breakpad/src/client/linux/microdump_writer/
microdump_writer_unittest.cc
57
int
err_fd
= open(stderr_file.c_str(), O_CREAT | O_RDWR, S_IRUSR | S_IWUSR);
local
58
ASSERT_NE(-1,
err_fd
);
99
ASSERT_NE(-1, dup2(
err_fd
, STDERR_FILENO));
108
fsync(
err_fd
);
109
lseek(
err_fd
, 0, SEEK_SET);
112
ASSERT_GT(read(
err_fd
, buf.get(), kBufSize), 0);
129
close(
err_fd
);
/external/selinux/libsemanage/src/
direct_api.c
682
int
err_fd
[2];
local
714
retval = pipe(
err_fd
);
736
retval = dup2(
err_fd
[PIPE_WRITE], STDERR_FILENO);
752
retval = close(
err_fd
[PIPE_READ]);
777
retval = close(
err_fd
[PIPE_WRITE]);
778
err_fd
[PIPE_WRITE] = -1;
809
retval = read_from_pipe_to_data(sh, initial_len,
err_fd
[PIPE_READ], &err_data_read, &err_data_read_len);
813
retval = close(
err_fd
[PIPE_READ]);
814
err_fd
[PIPE_READ] = -1;
853
if (
err_fd
[PIPE_READ] != -1)
[
all
...]
Completed in 589 milliseconds