Lines Matching defs:fo
1105 int fi, fo;
1136 if ((fo = open(file_copy, O_CREAT|O_TRUNC|O_WRONLY, s.st_mode)) < 0) {
1142 (void) fchown(fo, s.st_uid, s.st_gid);
1166 (void) close(fo);
1180 (void) ftruncate(fo, 0);
1181 (void) lseek(fo, 0, SEEK_SET);
1201 if (write(fo, buf, len) == len) {
1209 (void) close(fo);
1224 if (write(fo, buf, len) != len) {
1229 (void) close(fo);
1244 (void) close(fo);