Lines Matching defs:fptr
30 FILE *fptr = fopen(ptr, "wr+");
31 fwrite(wrstring, sizeof(char), strlen(wrstring), fptr);
32 fflush(fptr);
33 fseek(fptr, 0L, SEEK_SET);
34 char *content = fgets(str, 100, fptr);
39 fclose(fptr);
41 fptr = NULL;
57 FILE *fptr = fopen(ptr, "wr+");
58 fwrite(wrstring, sizeof(char), strlen(wrstring), fptr);
59 fflush(fptr);
60 fseek(fptr, 0L, SEEK_SET);
61 char *content = fgets(str, 5, fptr);
66 fclose(fptr);
68 fptr = NULL;
83 FILE *fptr = fopen(ptr, "wr+");
84 fwrite(wrstring, sizeof(char), strlen(wrstring), fptr);
85 fflush(fptr);
86 fseek(fptr, 0L, SEEK_SET);
87 char *content = fgets(str, 2, fptr);
92 fclose(fptr);
94 fptr = NULL;
109 FILE *fptr = fopen(ptr, "wr+");
110 fwrite(wrstring, sizeof(char), strlen(wrstring), fptr);
111 fflush(fptr);
112 fseek(fptr, 0L, SEEK_SET);
113 char *content = fgets(str, 1, fptr);
118 fclose(fptr);
120 fptr = NULL;
135 FILE *fptr = fopen(ptr, "wr+");
136 fwrite(wrstring, sizeof(char), strlen(wrstring), fptr);
137 fflush(fptr);
138 fseek(fptr, 0L, SEEK_SET);
139 char *content = fgets(str, 0, fptr);
144 fclose(fptr);
146 fptr = NULL;
161 FILE *fptr = fopen(ptr, "wr+");
162 fwrite(wrstring, sizeof(char), strlen(wrstring), fptr);
163 fflush(fptr);
164 fseek(fptr, 0L, SEEK_END);
165 char *content = fgets(str, 100, fptr);
170 fclose(fptr);
172 fptr = NULL;