From 823a8510fe53dd6890fa2a58ca6c4306c843ac86 Mon Sep 17 00:00:00 2001 From: Moritz Schulte Date: Sat, 6 Jan 2007 23:03:45 +0000 Subject: Added just a single comment. --- common/estream.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common/estream.c b/common/estream.c index e056cb7b4..4157058c6 100644 --- a/common/estream.c +++ b/common/estream.c @@ -1649,7 +1649,11 @@ doreadline (estream_t ES__RESTRICT stream, size_t max_length, } -/* Helper for esprint. */ +/* Helper for es_print. This allows for an optimization for formatted + output on estreams: no tempfile is required; instead the formatted + output is sent to a special fopencookie/funopen (system) stream, + which then passes the data to this writer function, which then + writes the data to the original estream. */ #if defined(HAVE_FOPENCOOKIE) || defined(HAVE_FUNOPEN) static int print_fun_writer (void *cookie_arg, const char *buffer, size_t size) -- cgit v1.2.3