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 Introduce support for Atmel toolchain in-flash strings 2016-01-05 10:29:29 -06:00
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 Rename all head files in main NuttX repository with names like *internal.h, removing the internal 2015-12-29 17:31:17 -06:00
lib_fileno.c Add support for freopen() 2015-11-22 08:39:17 -06:00
lib_fopen.c Rename all head files in main NuttX repository with names like *internal.h, removing the internal 2015-12-29 17:31:17 -06:00
lib_fprintf.c Remove some last traces of lowvsyslog that were missed; Add a SYSLOG emergency channel for handling assertion output more cleanly 2016-06-20 16:11:50 -06:00
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 Rename all head files in main NuttX repository with names like *internal.h, removing the internal 2015-12-29 17:31:17 -06:00
lib_gets.c Rename all head files in main NuttX repository with names like *internal.h, removing the internal 2015-12-29 17:31:17 -06:00
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 Rename all head files in main NuttX repository with names like *internal.h, removing the internal 2015-12-29 17:31:17 -06:00
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 drivers/sensors/h1750fvi.c: Add a character driver for Rohm Ambient Light Sensor BH1750FVI. 2016-04-15 08:16:16 -06:00
lib_memoutstream.c setvbuf: Add support for configuration of line buffering. 2017-02-08 11:28:24 -06:00
lib_memsistream.c Rename all head files in main NuttX repository with names like *internal.h, removing the internal 2015-12-29 17:31:17 -06:00
lib_memsostream.c setvbuf: Add support for configuration of line buffering. 2017-02-08 11:28:24 -06:00
lib_nullinstream.c Rename all head files in main NuttX repository with names like *internal.h, removing the internal 2015-12-29 17:31:17 -06:00
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 If there are no streams, let printf() fall back to use syslog() for output. 2016-07-11 13:52:21 -06:00
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 stdio: Add support for remove() 2016-08-25 08:40:34 -06:00
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 Rename all head files in main NuttX repository with names like *internal.h, removing the internal 2015-12-29 17:31:17 -06:00
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 Rename all head files in main NuttX repository with names like *internal.h, removing the internal 2015-12-29 17:31:17 -06:00
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 Introduce support for Atmel toolchain in-flash strings 2016-01-05 10:29:29 -06:00
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 Rename all head files in main NuttX repository with names like *internal.h, removing the internal 2015-12-29 17:31:17 -06:00
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