Searched refs:fddup (Results 1 – 2 of 2) sorted by relevance
40 int fddup; in main() local69 fddup = dup2(pipefd[1], duped_num); in main()70 if (fddup < 0) { in main()75 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fddup, &ev)) { in main()79 close(fddup); in main()
135 int ret, idx, fddup; in probe_file__get_rawlist() local148 fddup = dup(fd); in probe_file__get_rawlist()149 if (fddup < 0) in probe_file__get_rawlist()152 fp = fdopen(fddup, "r"); in probe_file__get_rawlist()178 close(fddup); in probe_file__get_rawlist()479 int ret = 0, fddup; in probe_cache__load() local482 fddup = dup(pcache->fd); in probe_cache__load()483 if (fddup < 0) in probe_cache__load()485 fp = fdopen(fddup, "r"); in probe_cache__load()487 close(fddup); in probe_cache__load()