summaryrefslogtreecommitdiffstats
path: root/cpukit/mghttpd
diff options
context:
space:
mode:
authorChristian Mauderer <christian.mauderer@embedded-brains.de>2012-06-28 15:03:39 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-07-12 09:51:44 +0200
commit5267241b329ec75451965f714682fc11f5324543 (patch)
treea181c11e0b6484dd36bcbdfb17e405cb72f6fd3f /cpukit/mghttpd
parentmghttpd: Add stack size and scheduling options (diff)
downloadrtems-5267241b329ec75451965f714682fc11f5324543.tar.bz2
mghttpd: Clarify comment
Diffstat (limited to 'cpukit/mghttpd')
-rw-r--r--cpukit/mghttpd/mongoose.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/mghttpd/mongoose.h b/cpukit/mghttpd/mongoose.h
index 61a560a553..c130fe7b84 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)))