Lines Matching refs:fip
54 struct file_info *fip = list_entry(p, struct file_info, head); in clean_files() local
56 fclose(fip->ofp); in clean_files()
57 if (!stat(fip->oname, &buf) && (buf.st_size == 0)) in clean_files()
58 unlink(fip->oname); in clean_files()
60 list_del(&fip->head); in clean_files()
61 free(fip->oname); in clean_files()
62 free(fip); in clean_files()
120 struct file_info *fip = malloc(sizeof(*fip)); in add_file() local
122 fip->ofp = fp; in add_file()
123 fip->oname = oname; in add_file()
124 list_add_tail(&fip->head, &files_to_clean); in add_file()