Lines Matching defs:fp
58 static int check_for_user(FILE *fp,const char *name);
62 static int check_for_user(FILE *fp,const char *name)
72 while(fgets(buffer, len+2, fp) != NULL)
81 fclose(fp);
88 FILE *fp;
100 fp=fopen(PERM_PATH "at.allow","r");
104 if (fp != NULL)
106 return check_for_user(fp, pentry->pw_name);
113 fp=fopen(PERM_PATH "at.deny", "r");
117 if (fp != NULL)
119 return !check_for_user(fp, pentry->pw_name);