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