Lines Matching refs:ofd
255 int ofd = -1; in main() local
413 if (ofd >= 0) in main()
414 (void) close(ofd); in main()
415 if ((ofd = xcreat(optarg)) < 0) { in main()
546 setoutput(ofd); /* establish truss output */ in main()
2018 setoutput(int ofd) in setoutput() argument
2020 if (ofd < 0) { in setoutput()
2023 } else if (ofd != 1) { in setoutput()
2025 (void) fcntl(ofd, F_DUPFD, 1); in setoutput()
2026 (void) close(ofd); in setoutput()
2028 if ((ofd = dup(2)) < 0) in setoutput()
2031 (void) close(ofd); in setoutput()