Lines Matching refs:ofd
257 int ofd = -1; in main() local
415 if (ofd >= 0) in main()
416 (void) close(ofd); in main()
417 if ((ofd = xcreat(optarg)) < 0) { in main()
548 setoutput(ofd); /* establish truss output */ in main()
2024 setoutput(int ofd) in setoutput() argument
2026 if (ofd < 0) { in setoutput()
2029 } else if (ofd != 1) { in setoutput()
2031 (void) fcntl(ofd, F_DUPFD, 1); in setoutput()
2032 (void) close(ofd); in setoutput()
2034 if ((ofd = dup(2)) < 0) in setoutput()
2037 (void) close(ofd); in setoutput()