Home | History | Annotate | Download | only in toolutil

Lines Matching defs:file

22 // read a file list -------------------------------------------------------- ***
35 /* check for multiple text file suffixes to see if this list name is a text file name */
52 * Read a file list.
53 * If the listname ends with ".txt", then read the list file
55 * If the listname ends with ".dat", then read the ICU .dat package file.
56 * Otherwise, read the file itself as a single-item list.
61 FILE *file;
65 fprintf(stderr, "missing list file\n");
79 // read the list file
84 file=fopen(listname, "r");
85 if(file==NULL) {
86 fprintf(stderr, "icupkg: unable to open list file \"%s\"\n", listname);
91 while(fgets(line, sizeof(line), file)) {
135 fclose(file);
138 // Accept a .dat file whose name differs from the ToC prefixes.
142 // list the single file itself