Home | History | Annotate | Download | only in test

Lines Matching defs:fp

18 stdio_read(void * p, size_t length, void * fp)
22 r = fread(p, length, 1, fp);
23 if (r == 0 && feof(fp))
29 stdio_seek(int64_t offset, int whence, void * fp)
31 return fseek(fp, offset, whence);
35 stdio_tell(void * fp)
37 return ftell(fp);
77 FILE * fp;
98 fp = fopen(argv[1], "rb");
99 if (!fp)
102 io.userdata = fp;
245 fclose(fp);