diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-05-14 15:21:04 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-05-14 15:21:04 +0000 |
commit | f62084035feaf8b9a22804821b22e2a3c15e6eda (patch) | |
tree | e2d1548a5bf0d8e33386a178103c756473b90ad6 /nuttx/Documentation/NuttxPortingGuide.html | |
parent | 6f8fd8927787deda605f6fb070bab21ee4022084 (diff) | |
download | px4-nuttx-f62084035feaf8b9a22804821b22e2a3c15e6eda.tar.gz px4-nuttx-f62084035feaf8b9a22804821b22e2a3c15e6eda.tar.bz2 px4-nuttx-f62084035feaf8b9a22804821b22e2a3c15e6eda.zip |
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
Diffstat (limited to 'nuttx/Documentation/NuttxPortingGuide.html')
-rw-r--r-- | nuttx/Documentation/NuttxPortingGuide.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index 3771d370d..1ff52940b 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -3414,6 +3414,13 @@ build on fopen. (Only if CONFIG_NFILE_STREAMS > 0) </li> <li> + <code>CONFIG_STDIO_LINEBUFFER</code>: + If standard C buffered I/O is enabled (<code>CONFIG_STDIO_BUFFER_SIZE</code> > 0), + then this option may be added to force automatic, line-oriented flushing the output buffer + for <code>printf()</code> >, <code>fprintf()</code> >, and <code>vfprintf()</code> >. + When a newline character 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. + <li> <code>CONFIG_NUNGET_CHARS</code>: Number of characters that can be buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) </li> |