Michael Brown
c44a193d0d
[legal] Add a selection of FILE_LICENCE declarations
Add FILE_LICENCE declarations to almost all files that make up the
various standard builds of gPXE.
vor 15 Jahren
Michael Brown
7ad2f652b4
[libc] Add missing __attribute__ (( format ( printf ) )) to ssnprintf()
vor 16 Jahren
Michael Brown
335b99a39d
Move [v]ssnprintf() from iscsi.c into vsprintf.c; we need them
elsewhere as well.
vor 17 Jahren
Michael Brown
f4c1e564a1
vsprintf.h is gPXE-specific; move it to include/gpxe
vor 18 Jahren
Michael Brown
06475f7b69
Finally move the prototypes for printf() and friends to stdio.h
vor 18 Jahren
Michael Brown
e106a39ce8
Added missing include of stdint.h
vor 18 Jahren
Michael Brown
84a493b88d
Allow vcprintf() to be called by external code such as the curses library.
Also trim another eight bytes from vsprintf.o. :)
vor 18 Jahren
Michael Brown
25f5d114a0
Updated documentation.
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).
vor 18 Jahren
Michael Brown
2421723a15
Rewrote printf and friends to better support standard C semantics.
vor 18 Jahren
Michael Brown
a42092d2a0
Add a temporary snprintf, so that safely-written code can at least
compile, even if it won't yet be safe.
vor 18 Jahren
Michael Brown
8bc4551f5e
API docs to .h
vor 19 Jahren
Michael Brown
664ffea697
Gave vsprintf.c its own header file, and made console.h include it.
vor 19 Jahren