Lines Matching defs:fp
2123 FILE *fp = setmntent("/etc/fstab", "r");
2124 struct mntent *mnt = getmntent(fp);
2132 fclose(fp);
2139 FILE *fp = setmntent("/etc/fstab", "r");
2142 struct mntent *mnt = getmntent_r(fp, &mntbuf, buf, sizeof(buf));
2150 fclose(fp);
3367 FILE *fp = fopen("/etc/passwd", "r");
3368 struct passwd *p = fgetpwent(fp);
3374 fclose(fp);
3391 FILE *fp = fopen("/etc/group", "r");
3392 struct group *grp = fgetgrent(fp);
3402 fclose(fp);
3423 FILE *fp = fopen("/etc/group", "r");
3428 int res = fgetgrent_r(fp, &grp, buf, sizeof(buf), &grpres);
3435 fclose(fp);