Searched refs:target_fd (Results 1 – 2 of 2) sorted by relevance
1625 int target_fd = open(path, flags, 0666); in DupDescriptor() local1627 if (target_fd == -1) in DupDescriptor()1630 return (dup2(target_fd, fd) == -1) ? false : true; in DupDescriptor()
2152 int target_fd = open(path, flags, 0666); in DupDescriptor() local2154 if (target_fd == -1) in DupDescriptor()2157 return (dup2(target_fd, fd) == -1) ? false : true; in DupDescriptor()