Home | History | Annotate | Download | only in toolutil

Lines Matching defs:file

19 // read a file list -------------------------------------------------------- ***
32 /* check for multiple text file suffixes to see if this list name is a text file name */
49 * Read a file list.
50 * If the listname ends with ".txt", then read the list file
52 * If the listname ends with ".dat", then read the ICU .dat package file.
53 * Otherwise, read the file itself as a single-item list.
58 FILE *file;
62 fprintf(stderr, "missing list file\n");
76 // read the list file
81 file=fopen(listname, "r");
82 if(file==NULL) {
83 fprintf(stderr, "icupkg: unable to open list file \"%s\"\n", listname);
88 while(fgets(line, sizeof(line), file)) {
132 fclose(file);
135 // Accept a .dat file whose name differs from the ToC prefixes.
139 // list the single file itself