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
lib_asprintf.c
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
lib_feof.c
lib_ferror.c
lib_fflush.c
lib_fgetc.c
lib_fgetpos.c
lib_fgets.c
lib_fileno.c
lib_fopen.c
lib_fprintf.c
lib_fputc.c
lib_fputs.c
lib_fread.c
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
lib_fsetpos.c
lib_ftell.c
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.c
lib_gets_s.c
lib_libdtoa.c
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
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
lib_libsnoflush.c
lib_libsprintf.c
lib_libvsprintf.c
lib_lowoutstream.c
lib_meminstream.c
lib_memoutstream.c
lib_memsistream.c
lib_memsostream.c
lib_nullinstream.c
lib_nulloutstream.c
lib_perror.c
lib_printf.c
lib_puts.c
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
lib_remove.c
lib_setbuf.c
lib_setvbuf.c
lib_snprintf.c
lib_sprintf.c
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
lib_stdsistream.c
lib_stdsostream.c
lib_tempnam.c
lib_tmpnam.c
lib_ungetc.c
lib_vasprintf.c
lib_vdprintf.c
lib_vfprintf.c
lib_vprintf.c
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
lib_wrflush.c
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