Lines Matching refs:FILE
9 * File FILESTRM.C
34 FILE *file = fopen(filename, mode);
35 return (FileStream*)file;
47 FILE* result = _wfopen(filename, mode);
52 FILE *result;
76 fclose((FILE*)fileStream);
82 FILE* temp = fopen(filename, "r");
97 FILE* file = tmpfile();
98 return (FileStream*)file;
105 return fread(addr, 1, len, (FILE*)fileStream);
112 return fwrite(addr, 1, len, (FILE*)fileStream);
118 rewind((FILE*)fileStream);
124 int32_t c = fputc(ch, (FILE*)fileStream);
131 int c = fgetc((FILE*)fileStream);
139 int32_t c = ungetc(ch, (FILE*)fileStream);
146 int32_t c = fgetc((FILE*)fileStream);
147 return ungetc(c, (FILE*)fileStream);
153 return fgets(buffer, length, (FILE*)fileStream);
159 return fputs(buffer, (FILE*)fileStream);
165 int32_t savedPos = ftell((FILE*)fileStream);
169 goes to the end of the file before ftell*/
170 fseek((FILE*)fileStream, 0, SEEK_END);
171 size = (int32_t)ftell((FILE*)fileStream);
172 fseek((FILE*)fileStream, savedPos, SEEK_SET);
179 return feof((FILE*)fileStream);
186 putc is used on a file opened as readonly)
191 return (fileStream == 0 || ferror((FILE*)fileStream));
199 fseek((FILE*)fileStream, 99999, SEEK_SET);