summaryrefslogtreecommitdiffstats
path: root/src/core/vsprintf.c
Commit message (Collapse)AuthorAgeFilesLines
* Move [v]ssnprintf() from iscsi.c into vsprintf.c; we need themMichael Brown2007-05-311-0/+39
| | | | elsewhere as well.
* vsprintf.h is gPXE-specific; move it to include/gpxeMichael Brown2007-01-191-1/+1
|
* Use stdio.h instead of vsprintf.hMichael Brown2007-01-191-0/+1
|
* Catch attempts to print NULL stringsMichael Brown2006-12-191-0/+2
|
* Fixed off-by-one errorMichael Brown2006-11-221-1/+1
|
* Accept '%i' as a synonym for '%d'.Michael Brown2006-07-251-1/+1
|
* Allow vcprintf() to be called by external code such as the curses library.Michael Brown2006-05-221-38/+38
| | | | Also trim another eight bytes from vsprintf.o. :)
* Handle the '"%c", 0' case correctly.Michael Brown2006-05-141-1/+1
|
* Correctly handle zero-length buffers.Michael Brown2006-05-141-10/+9Star
|
* Updated documentation.Michael Brown2006-05-141-45/+103
| | | | | | | | Shaved around 100 bytes off vsprintf.o. It's now 50 bytes smaller than the old implementation and provides much more conformant semantics, including the ability to return the number of characters that would have been printed to the string had the buffer been big enough. (iSCSI needs this functionality).
* Rewrote printf and friends to better support standard C semantics.Michael Brown2006-05-141-165/+274
|
* At least cope with "%llx" by reading the correct-sized va_arg from theMichael Brown2006-05-131-7/+16
| | | | | | | | | | stack, even if we don't yet print it out. At some point, vsprintf() needs to be fixed up so that it can correctly cope with limited-sized buffers (i.e. vsnprintf), long longs, and standard format specifiers (e.g. "%04x"). We should also remove the special types (MAC addresses and IP addresses). This would then enable us to use gcc's ability to type-check printf format strings.
* Add a temporary snprintf, so that safely-written code can at leastMichael Brown2006-04-301-0/+11
| | | | compile, even if it won't yet be safe.
* Update now that if_ether.h has moved.Michael Brown2006-04-191-1/+1
|
* Merge from Etherboot 5.4Michael Brown2006-03-161-3/+4
|\
* | Some versions of doxygen seem to object to "@ret None" or similar.Michael Brown2005-05-241-4/+4
| |
* | Use "#var" rather than "@c var" for doxygen.Michael Brown2005-05-201-2/+2
| |
* | API docs to .hMichael Brown2005-05-191-36/+1Star
| |
* | DoxygenationMichael Brown2005-05-191-20/+73
| |
* | Document %mMichael Brown2005-05-181-0/+1
| |
* | Added errno, strerror and the "%m" printf metacharacter. These will allowMichael Brown2005-05-171-9/+13
|/ | | | | | us to return proper PXE status codes, while simultaneously allowing for more consistent error reporting (complete with verbose error messages as a build-time option).
* Gave vsprintf.c its own header file, and made console.h include it.Michael Brown2005-04-171-1/+4
|
* Initial revisionMichael Brown2005-03-081-0/+166