Lines Matching defs:fp
235 FILE *fp;
245 fp = fopen(NFSL_CONFIG_FILE_PATH, "r");
246 if (fp == NULL) {
269 if (fcntl(fileno(fp), F_SETLKW, &flock) == -1) {
286 while (gataline(fp, NFSL_CONFIG_FILE_PATH, linebuf, sizeof (linebuf))) {
332 if (error = fstat(fileno(fp), &st)) {
348 (void) fclose(fp);
945 gataline(FILE *fp, char *path, char *line, int linesz) {
953 if (fgets(p, linesz - (p-line), fp) == NULL) {
974 (void) ungetc(*p, fp);
1017 while ((c = getc(fp)) != EOF) {
1022 if (getc(fp) == EOF) /* ignore next char */