Lines Matching defs:stream
85 FILE *stream;
98 if (chan->out.file.stream != NULL)
99 return (chan->out.file.stream);
148 stream = fdopen(fd, "a");
149 if (stream == NULL) {
156 chan->out.file.stream = stream;
157 return (stream);
162 FILE *stream;
168 stream = chan->out.file.stream;
169 chan->out.file.stream = NULL;
170 if (stream != NULL && fclose(stream) == EOF)
183 lcl->channel->out.file.stream != NULL &&
194 return (chan->out.file.stream);
275 FILE *stream;
385 stream = chan->out.file.stream;
386 if (stream == NULL) {
387 stream = log_open_stream(chan);
388 if (stream == NULL)
394 pos = ftell(stream);
406 stream = log_open_stream(chan);
407 if (stream == NULL)
411 fprintf(stream, "%s%s%s%s\n",
418 fflush(stream);
598 const char *name, FILE *stream, unsigned int versions,
632 chan->out.file.stream = stream;
705 chan->out.file.stream != NULL)
706 (void)fclose(chan->out.file.stream);