Lines Matching defs:fp
141 FILE *fp; /* Pointer to current file */
153 if ((fp = fopen(scan, "r")) == NULL) {
158 process(fp);
159 (void) fclose(fp);
327 FILE *fp; /* File pointer */
555 if ((fp = fopen(filep, "r")) == NULL) {
560 (void) readline(fp, work);
561 (void) fclose(fp);
636 readline(FILE *fp, char *area) /* Read one line from the file. */
637 /* fp - File to read from */
650 if (kludge && (fp == stdin)) {
651 if (fp != NULL) {
664 switch (c = getc(fp)) {
691 process(FILE *fp) /* Process one line of input */
697 while (readline(fp, &work[NCOLS]) != NULL) {