Home | History | Annotate | Download | only in other

Lines Matching defs:fp

109   FILE *fp;
166 fp = fopen(pp = "/proc/net/if_inet6", "r");
167 if (fp) {
171 while (fgets(toybuf, sizeof(toybuf), fp)) {
177 if (nitems<0 && feof(fp)) break;
203 fclose(fp);
271 FILE *fp;
273 fp = xfopen("/proc/net/dev", "r");
275 for (i=0; fgets(toybuf, sizeof(toybuf), fp); i++) {
304 fclose(fp);