Searched refs:openfd (Results 1 – 1 of 1) sorted by relevance
1208 int openfd, mode; local1218 openfd = open(redir->word.gl_pathv[0], mode, 0666);1219 if (openfd < 0) {1226 openfd = redir->dup;1229 if (openfd != redir->fd) {1233 if (openfd == -3) {1234 close(openfd);1236 dup2(openfd, redir->fd);1238 close (openfd);