Lines Matching defs:file
40 * read acl text from a file and return the corresponding acl
45 FILE *file;
55 file = stdin;
58 file = fopen(filename, "r");
59 if (file == NULL)
63 len = fread(buf, (size_t)1, sizeof(buf) - 1, file);
65 if (ferror(file) != 0) {
66 fclose(file);
68 } else if (feof(file) == 0) {
69 fclose(file);
73 fclose(file);