Lines Matching defs:fc
16 struct fcookie fc;
22 struct fcookie *fc = f->cookie;
27 if (!fc->iofuncs.read) goto bail;
30 ret = fc->iofuncs.read(fc->cookie, (char *) buf, len2);
40 ret = fc->iofuncs.read(fc->cookie, (char *) f->rpos, f->buf_size);
56 struct fcookie *fc = f->cookie;
59 if (!fc->iofuncs.write) return len;
64 ret = fc->iofuncs.write(fc->cookie, (const char *) buf, len);
75 struct fcookie *fc = f->cookie;
81 if (!fc->iofuncs.seek) {
85 res = fc->iofuncs.seek(fc->cookie, &off, whence);
93 struct fcookie *fc = f->cookie;
94 if (fc->iofuncs.close) return fc->iofuncs.close(fc->cookie);
118 f->fc.cookie = cookie;
119 f->fc.iofuncs = iofuncs;
122 f->f.cookie = &f->fc;