Lines Matching refs:fp
23 optimizes away the lineptr == NULL || n == NULL || fp == NULL tests below. */
39 # define getc_maybe_unlocked(fp) getc(fp)
45 # define getc_maybe_unlocked(fp) getc(fp)
47 # define getc_maybe_unlocked(fp) getc_unlocked(fp)
50 /* Read up to (and including) a DELIMITER from FP into *LINEPTR (and
57 getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp)
62 if (lineptr == NULL || n == NULL || fp == NULL)
68 flockfile (fp);
87 i = getc_maybe_unlocked (fp);
132 funlockfile (fp); /* doesn't set errno */