Update some comments

This commit is contained in:
Gregory Nutt 2017-02-08 11:47:12 -06:00
parent 9f859774a1
commit 1393061400
2 changed files with 5 additions and 3 deletions

View File

@ -16,8 +16,10 @@ config STDIO_LINEBUFFER
bool "STDIO line buffering"
default y
---help---
Flush buffer I/O whenever a newline character is found in
the output data stream.
Sets the default behavior to flush buffered I/O whenever a newline
character is found in the output data stream. This setting just
sets the initial default behavior of all streams. The behavior of
an individual stream can be changed via setvbuf().
config NUNGET_CHARS
int "Number unget() characters"

View File

@ -135,7 +135,7 @@ int setvbuf(FAR FILE *stream, FAR char *buffer, int mode, size_t size)
goto errout;
}
#if 1 /* REVISIT */
#if 1 /* REVISIT: _IONBF not yet supported */
/* Not all features are be available. Without some additional logic,
* we cannot disable buffering if CONFIG_STDIO_BUFFER_SIZE > 0
*/