Lines Matching refs:ofd
38 int ifd, ofd;53 ofd = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC, FILE_PERM);54 if (ofd < 0) {76 if (ofd)77 close(ofd);91 if (write(ofd, buffer, BUFSIZE) != BUFSIZE) {97 if (ofd)98 close(ofd);105 if (ofd)106 close(ofd);