From f62084035feaf8b9a22804821b22e2a3c15e6eda Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 14 May 2011 15:21:04 +0000 Subject: Implemented line-oriented buffering for std output git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3606 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'nuttx/ChangeLog') diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 981e04717..0f045301e 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -1752,3 +1752,10 @@ information about RGMP. * lib/stdio/lib_fclose.c: Must flush all buffered data when the file is closed. Instead, it was discarding the buffered data. + * lib/stdio: All output stream logic was modified to support CONFIG_STDIO_LINEBUFFER. + If standard C buffered I/O is enabled (CONFIG_STDIO_BUFFER_SIZE > 0), then this + option may be added to force automatic, line-oriented flushing the output buffer + for printf() fprintf(), and vfprintf(). When a newline is encountered in the + format string, the output buffer will be flushed. This (slightly) increases + the NuttX footprint but supports the kind of behavior that people expect for + printf. -- cgit v1.2.3