Searched refs:fp (Results 1 – 5 of 5) sorted by relevance
/locale/programs/ |
A D | linereader.c | 50 FILE *fp; in lr_open() local 57 fp = fopen (fname, "rm"); in lr_open() 58 if (fp == NULL) in lr_open() 60 return lr_create (fp, fname, hf); in lr_open() 65 lr_create (FILE *fp, const char *fname, kw_hash_fct_t hf) in lr_create() argument 72 result->fp = fp; in lr_create() 83 n = getdelim (&result->buf, &result->bufsize, '\n', result->fp); in lr_create() 87 fclose (result->fp); in lr_create() 127 if (lr->buf[lr->idx] != '\n' && ! feof (lr->fp) in lr_ignore_rest() 144 fclose (lr->fp); in lr_close() [all …]
|
A D | locale.c | 527 FILE *fp; in write_locales() local 531 fp = fopen (full_name, "rm"); in write_locales() 532 if (fp == NULL) in write_locales() 537 __fsetlocking (fp, FSETLOCKING_BYCALLER); in write_locales() 539 while (! feof_unlocked (fp)) in write_locales() 551 if (fgets_unlocked (buf, BUFSIZ, fp) == NULL) in write_locales() 603 if (fgets_unlocked (buf, BUFSIZ, fp) == NULL) in write_locales() 610 fclose (fp); in write_locales()
|
A D | linereader.h | 62 FILE *fp; member 85 extern struct linereader *lr_create (FILE *fp, const char *fname,
|
A D | charmap.c | 64 FILE *fp; in cmlr_open() local 66 fp = charmap_open (directory, name); in cmlr_open() 67 if (fp == NULL) in cmlr_open() 83 return lr_create (fp, pathname, hf); in cmlr_open()
|
A D | locarchive.c | 1206 FILE *fp; in add_locale_to_archive() local 1207 fp = fopen (alias_file, "rm"); in add_locale_to_archive() 1208 if (fp == NULL) in add_locale_to_archive() 1213 __fsetlocking (fp, FSETLOCKING_BYCALLER); in add_locale_to_archive() 1215 while (! feof_unlocked (fp)) in add_locale_to_archive() 1227 if (fgets_unlocked (buf, BUFSIZ, fp) == NULL) in add_locale_to_archive() 1314 if (fgets_unlocked (buf, BUFSIZ, fp) == NULL) in add_locale_to_archive() 1322 fclose (fp); in add_locale_to_archive()
|
Completed in 17 milliseconds