[rtems commit] mghttpd: Clarify comment
Sebastian Huber
sebh at rtems.org
Thu Jul 12 07:50:17 UTC 2012
Module: rtems
Branch: master
Commit: 5267241b329ec75451965f714682fc11f5324543
Changeset: http://git.rtems.org/rtems/commit/?id=5267241b329ec75451965f714682fc11f5324543
Author: Christian Mauderer <christian.mauderer at embedded-brains.de>
Date: Thu Jun 28 15:03:39 2012 +0200
mghttpd: Clarify comment
---
cpukit/mghttpd/mongoose.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/cpukit/mghttpd/mongoose.h b/cpukit/mghttpd/mongoose.h
index 61a560a..c130fe7 100644
--- a/cpukit/mghttpd/mongoose.h
+++ b/cpukit/mghttpd/mongoose.h
@@ -157,10 +157,10 @@ int mg_write(struct mg_connection *, const void *buf, size_t len);
// Send data to the browser using printf() semantics.
//
-// Works exactly like mg_write(), but allows to do message formatting.
-// Note that mg_printf() uses internal buffer of size IO_BUF_SIZE
-// (8 Kb by default) as temporary message storage for formatting. Do not
-// print data that is bigger than that, otherwise it will be truncated.
+// Works exactly like mg_write(), but allows to do message formatting. Note
+// that mg_printf() uses internal buffer of size BUFSIZ defined in <stdio.h>
+// (8 KiB on most Linux systems) as temporary message storage for formatting.
+// Do not print data that is bigger than that, otherwise it will be truncated.
int mg_printf(struct mg_connection *, const char *fmt, ...)
#ifdef __GNUC__
__attribute__((format(printf, 2, 3)))
More information about the vc
mailing list