Lines Matching refs:f
124 FILE *f; in check_dir() local
128 f = fopen(filename, "r"); in check_dir()
129 if ( !f ) in check_dir()
131 res = !fstat(fileno(f), &stab) && S_ISDIR(stab.st_mode); in check_dir()
132 fclose(f); in check_dir()
139 FILE *f; in read_file_content() local
144 f = fopen(filename, "r"); in read_file_content()
145 if ( !f ) in read_file_content()
148 if ( fstat(fileno(f), &stab) || !S_ISREG(stab.st_mode) || in read_file_content()
160 datalen = fread(content, 1, stab.st_size, f); in read_file_content()
162 if ( ferror(f) ) in read_file_content()
169 fclose(f); in read_file_content()