summaryrefslogtreecommitdiffstats
path: root/libc/stdio/printf.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix printf so that %p outputs "(nil)" for (void *) 0, to match glibc behavior.Manuel Novoa III2001-06-131-11/+20
|
* Fix printf handling of %p to prepend "0x" since output is in hex.Manuel Novoa III2001-06-131-0/+1
| | | | | Note: glibc output for (void *)0 is "(nil)" while uClibc output is "0". Does anyone have a preference?
* A couple of printf fixes from Johan Adolfsson (johan.adolfsson@axis.com).Manuel Novoa III2001-05-071-23/+31
|
* Since Erik apparently wants def/undef vs def 1/0...Manuel Novoa III2001-03-191-26/+26
|
* Test for Config features using features.h.Manuel Novoa III2001-03-181-27/+27
|
* Delete a stray character that hopped into the file...Manuel Novoa III2001-03-131-1/+1
|
* Fix a buglet regarding floating point output for ?nprintf functions.Manuel Novoa III2001-02-281-1/+2
|
* stdio mostly rewritten... passes lots of tests now.Manuel Novoa III2001-02-271-29/+28
| | | | printf now supports long double, plus some bug fixes.
* Lots of stdio cleanups. Several bug fixes, addition of a number of functionsManuel Novoa III2001-02-191-13/+28
| | | | | to supplement macros in stdio.h, change perror to use stdio package instead of "write". Also add back in weak stdio initialization for static lib case.
* Add vdprintf function. Note: will be rewritten to check if file descriptor ↵Manuel Novoa III2001-02-151-0/+11
| | | | has an associated FILE to avoid bad interactions with buffered output, but needed for busybox right now and that implementation has the same bug.
* Fix a couple of bugs in printf. Add floating pt output for doubles. Yeah!Manuel Novoa III2001-01-301-5/+33
| | | | | Modified stdio/Makefile to build printf.c according to Config values for HAS_FLOATS and HAS_LONG_LONG.
* Really fixed 0-pad bug this time. ;-) Code-size reductions if sizeof(int) andManuel Novoa III2001-01-281-54/+62
| | | | sizeof(long) equal. printf # flag now works for b (binary) specifier.
* Fixed (hopefully) 0-pad bug in printf. Added asprintf function. ReworkedManuel Novoa III2001-01-271-30/+70
| | | | the *s*printf functions to no longer use a static fake file.
* Cannot portably pass a short via va_args, since it will beEric Andersen2001-01-121-2/+2
| | | | | | internally converted to an int on many platforms. So make it be an int explicitly and call that good enough. -Erik
* A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.Eric Andersen2001-01-111-36/+30
|
* A number of updates from Manuel Novoa III. Things look good...Eric Andersen2000-12-201-220/+398
|
* Bug ugly formatting updateEric Andersen2000-10-091-302/+308
|
* Add in snprintf and vsnprintfEric Andersen2000-08-111-75/+103
| | | | -Erik
* Initial revision0_9_1Erik Andersen2000-05-141-0/+387