Home
last modified time | relevance | path

Searched refs:s_fp (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/cmd/sort/common/
H A Dstreams_wide.c96 trip_eof(BF->s_fp); in stream_wide_prime()
97 if (!feof(BF->s_fp)) in stream_wide_prime()
99 - current_position, BF->s_fp); in stream_wide_prime()
151 if (fgetws(graft_pt, dist_to_buf_end, str->s_type.BF.s_fp) == NULL) { in stream_wide_fetch()
152 if (feof(str->s_type.BF.s_fp)) in stream_wide_fetch()
158 trip_eof(str->s_type.BF.s_fp); in stream_wide_fetch()
172 if (!feof(str->s_type.BF.s_fp)) { in stream_wide_fetch()
206 str->s_type.BF.s_fp) == NULL) { in stream_wide_fetch_overwrite()
207 if (feof(str->s_type.BF.s_fp)) in stream_wide_fetch_overwrite()
213 trip_eof(str->s_type.BF.s_fp); in stream_wide_fetch_overwrite()
[all …]
H A Dstreams_stdio.c137 trip_eof(BF->s_fp); in stream_stdio_prime()
138 if (!feof(BF->s_fp)) in stream_stdio_prime()
140 BF->s_fp); in stream_stdio_prime()
215 if (fgets(graft_pt, dist_to_buf_end, str->s_type.BF.s_fp) == NULL) { in stream_stdio_fetch()
216 if (feof(str->s_type.BF.s_fp)) in stream_stdio_fetch()
222 trip_eof(str->s_type.BF.s_fp); in stream_stdio_fetch()
239 if (!feof(str->s_type.BF.s_fp)) { in stream_stdio_fetch()
287 str->s_type.BF.s_fp) == NULL) { in stream_stdio_fetch_overwrite()
288 if (feof(str->s_type.BF.s_fp)) in stream_stdio_fetch_overwrite()
294 trip_eof(str->s_type.BF.s_fp); in stream_stdio_fetch_overwrite()
[all …]
H A Dstreams.c207 str->s_type.BF.s_fp = stdin; in stream_open_for_read()
251 if ((str->s_type.BF.s_fp = fopen(str->s_filename, "r")) == NULL) { in stream_open_for_read()
259 if (setvbuf(str->s_type.BF.s_fp, str->s_type.BF.s_vbuf, _IOFBF, in stream_open_for_read()
H A Dtypes.h158 FILE *s_fp; /* file stream */ member