Lines Matching defs:ofd
54 int ofd; /* In /tmp/, dup(2)ed to stdout. */
57 ofd = tfd = -1;
81 if ((tag_files.ofd = dup(STDOUT_FILENO)) == -1) {
91 if ((ofd = mkstemps(tag_files.ofn, strlen(suffix))) == -1) {
100 ofd = open(outfilename, O_WRONLY | O_CREAT | O_EXCL, 0644);
101 if (ofd == -1) {
131 if (dup2(ofd, STDOUT_FILENO) == -1) {
135 close(ofd);
140 if (ofd != -1)
141 close(ofd);
144 if (tag_files.ofd != -1) {
145 close(tag_files.ofd);
146 tag_files.ofd = -1;
182 if (tag_files.ofd != -1) {
184 if ((irc = dup2(tag_files.ofd, STDOUT_FILENO)) == -1)
186 close(tag_files.ofd);
187 tag_files.ofd = -1;