Merged in paulpatience/nuttx/stdio (pull request #37)

stdio: Define BUFSIZ
This commit is contained in:
Gregory Nutt 2015-11-18 14:46:03 -06:00
commit 678eb7b78b
1 changed files with 8 additions and 2 deletions

View File

@ -58,7 +58,13 @@
#define FILENAME_MAX _POSIX_NAME_MAX
/* File system error values *************************************************/
/* The size of the I/O buffers */
#if CONFIG_STDIO_BUFFER_SIZE > 0
# define BUFSIZ CONFIG_STDIO_BUFFER_SIZE
#endif
/* File system error values */
#define EOF (-1)
@ -94,7 +100,7 @@
#define L_tmpnam CONFIG_LIBC_MAX_TMPFILE
/* the maximum number of unique temporary file names that can be generated */
/* The maximum number of unique temporary file names that can be generated */
#define TMP_MAX 56800235584ull