Lines Matching defs:fp
164 static void puttzcode(long code, FILE * fp);
165 static void puttzcode64(zic_t code, FILE * fp);
942 register FILE * fp;
953 fp = stdin;
954 } else if ((fp = fopen(name, "r")) == NULL) {
964 if (fgets(buf, (int) sizeof buf, fp) != buf)
1018 if (ferror(fp)) {
1023 if (fp != stdin && fclose(fp)) {
1562 puttzcode(val, fp)
1564 FILE * const fp;
1569 (void) fwrite((void *) buf, (size_t) sizeof buf, (size_t) 1, fp);
1573 puttzcode64(val, fp)
1575 FILE * const fp;
1580 (void) fwrite((void *) buf, (size_t) sizeof buf, (size_t) 1, fp);
1606 register FILE * fp;
1702 if ((fp = fopen(fullname, "wb")) == NULL) {
1705 if ((fp = fopen(fullname, "wb")) == NULL) {
1781 (size_t) sizeof tzh.field, (size_t) 1, fp)
1808 puttzcode((long) ats[i], fp);
1809 else puttzcode64(ats[i], fp);
1817 fp);
1822 puttzcode((long) rawoffs[i], fp);
1823 puttzcode((long) dstoffs[i], fp);
1825 puttzcode(gmtoffs[i], fp);
1827 (void) putc(isdsts[i], fp);
1828 (void) putc((unsigned char) indmap[abbrinds[i]], fp);
1833 (size_t) thischarcnt, fp);
1855 puttzcode((long) todo, fp);
1856 else puttzcode64(todo, fp);
1857 puttzcode(corr[i], fp);
1861 (void) putc(ttisstds[i], fp);
1864 (void) putc(ttisgmts[i], fp);
1866 (void) fprintf(fp, "\n%s\n", string);
1867 if (ferror(fp) || fclose(fp)) {