rockbox/firmware/libc
Michael Sevakis 5c9688961e Implement a much more capable vuprintf()
New support as well as some buggy support fixed.

Still no floating point support if ever that would be desired.

Support (*):
* Flags: '-', '+', ' ', '#', '0'

* Width and precision: 'n', '.n', '*' and '.*'

* Length modifiers: 'hh', 'h', 'j', 'l', 'll', 't', 'z'

* Radix: 'c', 'd', 'i', 'n', 'o', 'p/P', 's', 'u', 'x/X'

(*) Provision exists to switch lesser-used stuff on or off or when
certain functionality isn't desired (bootloader?). The compulsory
radixes are everything but 'o', 'n', 'p/P' and 'x/X' with length
modifiers being optional. The default setup is 'l', 'z', 'c', 'd',
'p/P', 's', 'u', 'x/X'.

* Move fdprintf() to its own file. It was in a strange place.

* Make callers compatible and fix a couple snprintf() bugs while
at it.

Could smush it down in size but I'm gonna get over the binsize
neurosis and just the let optimizer do its thing.

Change-Id: Ibdc613a9b6775802c188b29b9dd46c568c94f7c3
2017-11-21 05:00:27 -05:00
..
include Add normal alloca() definition and implement a strdupa and friends 2014-08-29 22:06:59 -04:00
atoi.c
ctype.c
errno.c Base scheduler queues off linked lists and do cleanup/consolidation 2014-08-16 05:15:37 -04:00
gmtime.c Improve code for gmtime_r() 2017-02-03 14:40:55 -05:00
memchr.c Renamed defines UNALIGNED to ROCKBOX_UNALIGNED - UNALIGNED is already 2017-01-15 21:32:49 +01:00
memcmp.c Renamed defines UNALIGNED to ROCKBOX_UNALIGNED - UNALIGNED is already 2017-01-15 21:32:49 +01:00
mktime.c mktime(): Remove redundant assignment of 'result' 2015-01-04 17:37:35 +01:00
qsort.c
random.c
sprintf.c Implement a much more capable vuprintf() 2017-11-21 05:00:27 -05:00
sscanf.c Fix reds, inclusion of C files into plugins is tricky. 2010-12-02 21:29:05 +00:00
strcat.c
strchr.c Renamed defines UNALIGNED to ROCKBOX_UNALIGNED - UNALIGNED is already 2017-01-15 21:32:49 +01:00
strcmp.c Renamed defines UNALIGNED to ROCKBOX_UNALIGNED - UNALIGNED is already 2017-01-15 21:32:49 +01:00
strcpy.c Renamed defines UNALIGNED to ROCKBOX_UNALIGNED - UNALIGNED is already 2017-01-15 21:32:49 +01:00
strncmp.c Renamed defines UNALIGNED to ROCKBOX_UNALIGNED - UNALIGNED is already 2017-01-15 21:32:49 +01:00
strrchr.c Add an advanced build option to force compiling and linking our reduced C library (probably useful for the sim). 2010-06-22 18:34:03 +00:00
strstr.c strstr(): cosmetics 2010-07-11 22:37:31 +00:00
strtok.c