diff --git a/libc/Kconfig b/libc/Kconfig index c3db169d9d..e1781e41cf 100644 --- a/libc/Kconfig +++ b/libc/Kconfig @@ -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" diff --git a/libc/stdio/lib_setvbuf.c b/libc/stdio/lib_setvbuf.c index 4da52ff77d..ece2b09a71 100644 --- a/libc/stdio/lib_setvbuf.c +++ b/libc/stdio/lib_setvbuf.c @@ -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 */