Lines Matching defs:fptr
31 FILE *fptr = fopen(path, "w+");
32 if (!fptr) {
36 size_t ret = fwrite(wrstring, sizeof(char), strlen(wrstring), fptr);
41 int fret = fseek(fptr, 0L, SEEK_SET);
46 long result = ftell(fptr);
51 fclose(fptr);
62 FILE *fptr = fopen(path, "w+");
63 if (!fptr) {
67 size_t ret = fwrite(wrstring, sizeof(char), strlen(wrstring), fptr);
72 int fret = fseek(fptr, 8L, SEEK_SET);
77 long result = ftell(fptr);
82 fclose(fptr);
93 FILE *fptr = fopen(path, "w+");
94 if (!fptr) {
98 size_t ret = fwrite(wrstring, sizeof(char), strlen(wrstring), fptr);
103 int fret = fseek(fptr, 0L, SEEK_END);
107 long result = ftell(fptr);
112 fclose(fptr);