commit | 7673baed84e3eda9b1ad330ee94a64645dcec068 | [log] [tgz] |
---|---|---|
author | Arnaud Mouiche <arnaud.mouiche@invoxia.com> | Wed Sep 16 09:11:34 2020 +0200 |
committer | Andrew Boie <andrewboie@gmail.com> | Mon Oct 05 09:59:38 2020 -0700 |
tree | 06b01b0f4637887aac0e5338fd992f53197601c7 | |
parent | fd9766c961c5f21377eddd7035e8696af462b1ab [diff] |
libc: newlib: Avoid all files to be opened in line buffer mode Default buffer mode is setup by fopen depending on isatty value. Expect only 0, 1 & 2 to be tty for CONFIG_POSIX_API cases. This way regular files are opened in block buffering mode (instead of line buffering mode) which really speed up fread/fwrite operations on FS. Signed-off-by: Arnaud Mouiche <arnaud.mouiche@invoxia.com>