Lines Matching defs:ofile
84 static int ofile;
702 if ((ofile = open(name, O_WRONLY | O_CREAT | O_TRUNC,
709 (void) fchown(ofile, uid, gid);
710 (void) fchmod(ofile, mode);
714 set_extattr(ofile, name, buf, extsize, SXA_FD);
715 (void) futimens(ofile, ctimep);
716 (void) futimens(ofile, mtimep);
717 (void) fchflags(ofile, flags);
718 (void) close(ofile);
1029 if (write(ofile, buf, (int) size) == -1) {
1044 if (lseek(ofile, size, SEEK_CUR) == -1) {