History | View | Annotate | Download (7.93 KB)
Added library progdocs.
Defined format specifier `%M' which behaves as `%m', but takes theerror code as an argument.
Use it in socket hooks where we really shouldn't rely on errno containingthe right value or even existing.
Include "lib/string.h" instead of <string.h>. It should give us bzero()and other non-portable functions on all systems.
Killed bug in processing of 'h' prefix. Patch taken from linux-2.1.129.
Implemented snprintf and similar functions. It took a lot of thinking,but the modifications were relatively simple and straightforward.
Oops, forgot '%m'...
Added local version of sprintf (bsprintf and bvsprintf) offering few newformat strings:
%I IP address %#I IP address in hexadecimal %1I IP address padded to full length %m strerror(errno)