nuttx/libs/libc/stdio
Jussi Kivilinna fd4db67b43 libs/libc/stdio/lib_libvsprintf.c: Restore support for printing NULL string as "(null)". Legacy printf supported printing "(null)" in place for NULL string:
printf("null: %s\n", NULL); => null: (null).

This commit restores this functionality for new printf library.
2019-04-04 06:31:25 -06:00
..
Kconfig libs/libc/stdio/Kconfig: Add 'range 9 999999' to CONFIG_LIBC_NL_ARGMAX. Per OpenGroup.org, the minimum value for NL_ARGMAX is 9. 2019-02-21 14:04:46 -06:00
legacy_dtoa.c libs/libc/stdio: Rename lib_dtoa.c to legacy_dtoa.c; rename lib_libvsprint.c to legacy_libvsprintf.c 2019-02-17 12:29:35 -06:00
legacy_libvsprintf.c libs/libc/stdio: Rename lib_dtoa.c to legacy_dtoa.c; rename lib_libvsprint.c to legacy_libvsprintf.c 2019-02-17 12:29:35 -06:00
lib_asprintf.c
lib_clearerr.c
lib_dprintf.c
lib_dtoa_data.c libs/libc/stdio: Rename all nano_*.c and nano_*.h files to lib_*.c and lib_*.h to emphasize that these are now the defaults, not an optional implementation. 2019-02-17 12:29:50 -06:00
lib_dtoa_engine.c libs/libc/stdio: Rename all nano_*.c and nano_*.h files to lib_*.c and lib_*.h to emphasize that these are now the defaults, not an optional implementation. 2019-02-17 12:29:50 -06:00
lib_dtoa_engine.h libs/libc/stdio: Rename all nano_*.c and nano_*.h files to lib_*.c and lib_*.h to emphasize that these are now the defaults, not an optional implementation. 2019-02-17 12:29:50 -06: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 Squashed commit of the following: 2018-09-15 10:49:41 -06:00
lib_fprintf.c
lib_fputc.c
lib_fputs.c
lib_fread.c
lib_freopen.c
lib_fscanf.c libs/libc/stdio: In the recent changes we lost the implementation of vsscanf(). This commit restores vsscanf(). sscanf() is not just a front end for vsscanf(). 2019-02-15 17:31:58 -06:00
lib_fseek.c
lib_fsetpos.c
lib_ftell.c
lib_fwrite.c
lib_gets_s.c
lib_gets.c
lib_libdtoa.c libs/libc/stdio/lib_dtoa.c: Lots of risky turmoil to get this file closer to the NuttX coding style. Seems to check out, but still risky. libs/libc/stdio/lib_libdtoa.c: A fix for the %g format. The algorithm will sometimes generate number greater than the precision of type double. This adds a check if the precision has been exceeded and logic to remove the least significant garbage. 2019-02-16 18:08:38 -06:00
lib_libfflush.c
lib_libfgets.c
lib_libflushall.c
lib_libfread.c libs/libc/stdio/lib_libfread.c: fread() should always set EOF if fewer than the requested number of bytes was not read. Per Anthony Merlino. 2018-12-07 12:18:40 -06:00
lib_libfwrite.c
lib_libnoflush.c
lib_libsnoflush.c
lib_libsprintf.c Restore lib_sprintf(). It was removed because I thought was not used. But I was wrong; there is logic in drivers/syslog that depends on lib_sprintf(). 2019-02-16 12:29:00 -06:00
lib_libvscanf.c Squashed commit of the following: 2019-02-27 08:41:08 -06:00
lib_libvsprintf.c libs/libc/stdio/lib_libvsprintf.c: Restore support for printing NULL string as "(null)". Legacy printf supported printing "(null)" in place for NULL string: 2019-04-04 06:31:25 -06:00
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
lib_rawoutstream.c
lib_rawsistream.c
lib_rawsostream.c
lib_rdflush.c
lib_remove.c
lib_scanf.c Squashed commit of the following: 2019-02-14 07:03:02 -06:00
lib_setbuf.c
lib_setvbuf.c libs/libc/pthread, syscall/, and include/sys/syscall.h: Support for pthread_mutex_timedlock() was added recently, however no new system call was added for the API make is usable only in the FLAT build. With a pthread_mutex_timedlock() system call, there is no reason for a pthread_mutex_lock() system call since it is now nothing more than an wrapper around pthread_mutex_timedlock(), passing NULL for the time value. The pthread_mutex_lock() syscall was removed and the pthread_mutex_lock() implemented was moved from /sched/pthread to where it now belows in libs/libc/pthread. 2019-02-25 18:19:13 -06:00
lib_snprintf.c
lib_sprintf.c
lib_sscanf.c Cosmetic update to some comments. 2019-02-15 18:26:06 -06:00
lib_stdinstream.c
lib_stdoutstream.c
lib_stdsistream.c
lib_stdsostream.c
lib_tempnam.c
lib_tmpnam.c
lib_ultoa_invert.c libs/libc/stdio: Rename all nano_*.c and nano_*.h files to lib_*.c and lib_*.h to emphasize that these are now the defaults, not an optional implementation. 2019-02-17 12:29:50 -06:00
lib_ultoa_invert.h libs/libc/stdio: Rename all nano_*.c and nano_*.h files to lib_*.c and lib_*.h to emphasize that these are now the defaults, not an optional implementation. 2019-02-17 12:29:50 -06:00
lib_ungetc.c
lib_vasprintf.c
lib_vdprintf.c
lib_vfprintf.c
lib_vfscanf.c Cosmetic update to some comments. 2019-02-15 18:26:06 -06:00
lib_vprintf.c
lib_vsnprintf.c
lib_vsprintf.c
lib_vsscanf.c Cosmetic update to some comments. 2019-02-15 18:26:06 -06:00
lib_wrflush.c
lib_zeroinstream.c
Make.defs libs/libc/stdio/Make.defs: Make that else, not #else. 2019-02-17 16:07:54 -06:00