Home | History | Annotate | Download | only in examples

Lines Matching defs:fp

70   FILE *fp;
87 if(fopen_s(&fp, fname = argv[1], "rb") != 0) {
89 if((fp = LFS_FOPEN(fname = argv[1], "rb")) == NULL) {
103 fp = stdin;
109 if(LFS_FSEEK(fp, 0, SEEK_END) == 0) {
110 n = LFS_FTELL(fp);
111 rewind(fp);
136 if(fread(T, sizeof(sauchar_t), (size_t)n, fp) != (size_t)n) {
139 (ferror(fp) || !feof(fp)) ? "Cannot read from" : "Unexpected EOF in",
144 if(needclose & 1) { fclose(fp); }