nuttx/libc/stdio
Gregory Nutt 30dbae2dbe reopen should return NULL when oflags is less than 0, not equal to 0.
Because negative value is returned on failure of lib_mode2offlags which converts the mode string into file open mode flag.
2017-12-21 12:04:17 -06:00
..
Kconfig libc/Kconfig: Remove source'ing file twice. Use cleaner dependencies in some menus. 2017-02-10 10:28:34 -06:00
lib_asprintf.c C library: Remove comments blocks before empty sections 2017-02-08 07:55:37 -06:00
lib_clearerr.c
lib_dprintf.c
lib_dtoa.c Fix -Werror=implicit-fallthrough on gcc7 2017-06-28 17:48:04 +02:00
lib_fclose.c setvbuf: Add support for disabling I/O buffering. Initially cut; untested. 2017-02-09 09:24:44 -06:00
lib_feof.c
lib_ferror.c
lib_fflush.c C library: Remove comments blocks before empty sections 2017-02-08 07:55:37 -06:00
lib_fgetc.c C library: Remove comments blocks before empty sections 2017-02-08 07:55:37 -06:00
lib_fgetpos.c C library: Remove comments blocks before empty sections 2017-02-08 07:55:37 -06:00
lib_fgets.c
lib_fileno.c
lib_fopen.c
lib_fprintf.c
lib_fputc.c setvbuf: Add support for configuration of line buffering. 2017-02-08 11:28:24 -06:00
lib_fputs.c setvbuf: Add support for configuration of line buffering. 2017-02-08 11:28:24 -06:00
lib_fread.c C library: Remove comments blocks before empty sections 2017-02-08 07:55:37 -06:00
lib_freopen.c reopen should return NULL when oflags is less than 0, not equal to 0. 2017-12-21 12:04:17 -06:00
lib_fseek.c setvbuf: Add support for disabling I/O buffering. Initially cut; untested. 2017-02-09 09:24:44 -06:00
lib_fsetpos.c C library: Remove comments blocks before empty sections 2017-02-08 07:55:37 -06:00
lib_ftell.c setvbuf: Add support for disabling I/O buffering. Initially cut; untested. 2017-02-09 09:24:44 -06:00
lib_fwrite.c Adds OS internal function nx_write() which is functionally equivalent to write() except that it does not set the errno variable and do not cause cancellation points. 2017-10-11 10:18:30 -06:00
lib_gets_s.c
lib_gets.c
lib_libdtoa.c C library: Remove comments blocks before empty sections 2017-02-08 07:55:37 -06:00
lib_libfflush.c Adds OS internal function nx_write() which is functionally equivalent to write() except that it does not set the errno variable and do not cause cancellation points. 2017-10-11 10:18:30 -06:00
lib_libfgets.c
lib_libflushall.c C library: Remove comments blocks before empty sections 2017-02-08 07:55:37 -06:00
lib_libfread.c fs/vfs: Add new internal OS interface nx_read(). nx_read() is functionally equivalent to read() except that it does not modify the errno variable and it is not a cancellation point. Changed all references to read() in the OS to nx_read(). 2017-10-11 12:13:41 -06:00
lib_libfwrite.c Adds OS internal function nx_write() which is functionally equivalent to write() except that it does not set the errno variable and do not cause cancellation points. 2017-10-11 10:18:30 -06:00
lib_libnoflush.c setvbuf: Add support for configuration of line buffering. 2017-02-08 11:28:24 -06:00
lib_libsnoflush.c setvbuf: Add support for configuration of line buffering. 2017-02-08 11:28:24 -06:00
lib_libsprintf.c C library: Remove comments blocks before empty sections 2017-02-08 07:55:37 -06:00
lib_libvsprintf.c libc: printf: fix precision for string formatting. Fixes use of format precision to truncate input string. 2017-03-17 17:32:44 -06:00
lib_lowoutstream.c setvbuf: Add support for configuration of line buffering. 2017-02-08 11:28:24 -06:00
lib_meminstream.c
lib_memoutstream.c setvbuf: Add support for configuration of line buffering. 2017-02-08 11:28:24 -06:00
lib_memsistream.c
lib_memsostream.c setvbuf: Add support for configuration of line buffering. 2017-02-08 11:28:24 -06:00
lib_nullinstream.c
lib_nulloutstream.c setvbuf: Add support for configuration of line buffering. 2017-02-08 11:28:24 -06:00
lib_perror.c C library: Remove comments blocks before empty sections 2017-02-08 07:55:37 -06:00
lib_printf.c
lib_puts.c setvbuf: Add support for configuration of line buffering. 2017-02-08 11:28:24 -06:00
lib_rawinstream.c fs/vfs: Add new internal OS interface nx_read(). nx_read() is functionally equivalent to read() except that it does not modify the errno variable and it is not a cancellation point. Changed all references to read() in the OS to nx_read(). 2017-10-11 12:13:41 -06:00
lib_rawoutstream.c Adds OS internal function nx_write() which is functionally equivalent to write() except that it does not set the errno variable and do not cause cancellation points. 2017-10-11 10:18:30 -06:00
lib_rawsistream.c fs/vfs: Add new internal OS interface nx_read(). nx_read() is functionally equivalent to read() except that it does not modify the errno variable and it is not a cancellation point. Changed all references to read() in the OS to nx_read(). 2017-10-11 12:13:41 -06:00
lib_rawsostream.c Adds OS internal function nx_write() which is functionally equivalent to write() except that it does not set the errno variable and do not cause cancellation points. 2017-10-11 10:18:30 -06:00
lib_rdflush.c setvbuf: Fix some compile errors in first build of logic to enable/disable buffering. 2017-02-09 09:53:50 -06:00
lib_remove.c
lib_setbuf.c Apparently setvbuf() size can be nonzero with _IONBF. That makes no sense, but is necessary if setbuf() is to work as it is defined at OpenGroup.org. 2017-02-09 15:39:33 -06:00
lib_setvbuf.c Apparently setvbuf() size can be nonzero with _IONBF. That makes no sense, but is necessary if setbuf() is to work as it is defined at OpenGroup.org. 2017-02-09 15:39:33 -06:00
lib_snprintf.c C library: Remove comments blocks before empty sections 2017-02-08 07:55:37 -06:00
lib_sprintf.c C library: Remove comments blocks before empty sections 2017-02-08 07:55:37 -06:00
lib_sscanf.c Fix sscanf character conversion (%c): do not add '\0' at the end as for strings, cause, for example, parsing one character will fill two bytes: character itself and zero one '\0' after it, so will overflow one byte variable argument and corrupt memory for variables allocated after it. 2017-11-19 13:33:46 -06:00
lib_stdinstream.c
lib_stdoutstream.c setvbuf: Fix some compile errors in first build of logic to enable/disable buffering. 2017-02-09 09:53:50 -06:00
lib_stdsistream.c
lib_stdsostream.c setvbuf: Fix some compile errors in first build of logic to enable/disable buffering. 2017-02-09 09:53:50 -06:00
lib_tempnam.c
lib_tmpnam.c
lib_ungetc.c C library: Remove comments blocks before empty sections 2017-02-08 07:55:37 -06:00
lib_vasprintf.c C library: Remove comments blocks before empty sections 2017-02-08 07:55:37 -06:00
lib_vdprintf.c
lib_vfprintf.c C library: Remove comments blocks before empty sections 2017-02-08 07:55:37 -06:00
lib_vprintf.c C library: Remove comments blocks before empty sections 2017-02-08 07:55:37 -06:00
lib_vsnprintf.c vsnprintf(): If size is zero, then vsnprintf() should return the size of the required buffer without writing anything. This is same fix that was done for snprintf in 2014 by commit 59846a8fe9. 2017-03-17 17:34:56 -06:00
lib_vsprintf.c C library: Remove comments blocks before empty sections 2017-02-08 07:55:37 -06:00
lib_wrflush.c setvbuf: Add support for disabling I/O buffering. Initially cut; untested. 2017-02-09 09:24:44 -06:00
lib_zeroinstream.c
Make.defs configs/z80sim: Fix a naming problem. Also, don't try to build the serial driver if CONFIG_NFILE_DESCRIPTOR=0. 2017-10-08 09:47:06 -06:00