Home | History | Annotate | Download | only in openbsd-compat

Lines Matching refs:fp

266 	FILE *fp;
272 if ((fp = fopen(oom_adj_path, "r+")) != NULL) {
273 if (fscanf(fp, "%d", &oom_adj_save) != 1)
277 rewind(fp);
278 if (fprintf(fp, "%d\n", value) <= 0)
285 fclose(fp);
296 FILE *fp;
300 (fp = fopen(oom_adj_path, "w")) == NULL)
303 if (fprintf(fp, "%d\n", oom_adj_save) <= 0)
308 fclose(fp);