Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move [v]ssnprintf() from iscsi.c into vsprintf.c; we need them | Michael Brown | 2007-05-31 | 1 | -0/+39 |
| | | | | elsewhere as well. | ||||
* | vsprintf.h is gPXE-specific; move it to include/gpxe | Michael Brown | 2007-01-19 | 1 | -1/+1 |
| | |||||
* | Use stdio.h instead of vsprintf.h | Michael Brown | 2007-01-19 | 1 | -0/+1 |
| | |||||
* | Catch attempts to print NULL strings | Michael Brown | 2006-12-19 | 1 | -0/+2 |
| | |||||
* | Fixed off-by-one error | Michael Brown | 2006-11-22 | 1 | -1/+1 |
| | |||||
* | Accept '%i' as a synonym for '%d'. | Michael Brown | 2006-07-25 | 1 | -1/+1 |
| | |||||
* | Allow vcprintf() to be called by external code such as the curses library. | Michael Brown | 2006-05-22 | 1 | -38/+38 |
| | | | | Also trim another eight bytes from vsprintf.o. :) | ||||
* | Handle the '"%c", 0' case correctly. | Michael Brown | 2006-05-14 | 1 | -1/+1 |
| | |||||
* | Correctly handle zero-length buffers. | Michael Brown | 2006-05-14 | 1 | -10/+9![]() |
| | |||||
* | Updated documentation. | Michael Brown | 2006-05-14 | 1 | -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 Brown | 2006-05-14 | 1 | -165/+274 |
| | |||||
* | At least cope with "%llx" by reading the correct-sized va_arg from the | Michael Brown | 2006-05-13 | 1 | -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 least | Michael Brown | 2006-04-30 | 1 | -0/+11 |
| | | | | compile, even if it won't yet be safe. | ||||
* | Update now that if_ether.h has moved. | Michael Brown | 2006-04-19 | 1 | -1/+1 |
| | |||||
* | Merge from Etherboot 5.4 | Michael Brown | 2006-03-16 | 1 | -3/+4 |
|\ | |||||
* | | Some versions of doxygen seem to object to "@ret None" or similar. | Michael Brown | 2005-05-24 | 1 | -4/+4 |
| | | |||||
* | | Use "#var" rather than "@c var" for doxygen. | Michael Brown | 2005-05-20 | 1 | -2/+2 |
| | | |||||
* | | API docs to .h | Michael Brown | 2005-05-19 | 1 | -36/+1![]() |
| | | |||||
* | | Doxygenation | Michael Brown | 2005-05-19 | 1 | -20/+73 |
| | | |||||
* | | Document %m | Michael Brown | 2005-05-18 | 1 | -0/+1 |
| | | |||||
* | | Added errno, strerror and the "%m" printf metacharacter. These will allow | Michael Brown | 2005-05-17 | 1 | -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 Brown | 2005-04-17 | 1 | -1/+4 |
| | |||||
* | Initial revision | Michael Brown | 2005-03-08 | 1 | -0/+166 |