Lines Matching defs:fp
43 ppkgmap(struct cfent *ept, FILE *fp)
49 if (fprintf(fp, "%d ", ept->volno) < 0)
54 if (fprintf(fp, "%c %s", ept->ftype, ept->path) < 0)
57 if (fprintf(fp, "%c %s %s", ept->ftype, ept->pkg_class,
63 if (fprintf(fp, "=%s", ept->ainfo.local) < 0)
70 if (fprintf(fp, " ?") < 0)
73 if (fprintf(fp, " %d", ept->ainfo.xmajor) < 0)
78 if (fprintf(fp, " ?") < 0)
81 if (fprintf(fp, " %d", ept->ainfo.major) < 0)
87 if (fprintf(fp, " ?") < 0)
90 if (fprintf(fp, " %d", ept->ainfo.xminor) < 0)
95 if (fprintf(fp, " ?") < 0)
98 if (fprintf(fp, " %d", ept->ainfo.minor) < 0)
105 if (fprintf(fp, ((ept->ainfo.mode == BADMODE) ? " ?" : " %04o"),
108 if (fprintf(fp, " %s %s", ept->ainfo.owner, ept->ainfo.group) <
113 if (fputc('\n', fp) == EOF)
119 if (fprintf(fp, ((ept->cinfo.size == BADCONT) ? " ?" : " %llu"),
122 if (fprintf(fp, ((ept->cinfo.cksum == BADCONT) ? " ?" : " %ld"),
125 if (fprintf(fp,
132 if (fputc('\n', fp) == EOF)
136 if (fprintf(fp, "\n") < 0)