Lines Matching defs:file
37 * read acl text from a file and return the corresponding acl
42 FILE *file;
52 file = stdin;
55 file = fopen(filename, "r");
56 if (file == NULL)
60 len = fread(buf, (size_t)1, sizeof(buf) - 1, file);
62 if (ferror(file) != 0) {
63 fclose(file);
65 } else if (feof(file) == 0) {
66 fclose(file);
70 fclose(file);