• Jan Maria Matejka's avatar
    Lib: recursive printf · 64c5ad58
    Jan Maria Matejka authored
    Use like this:
    
    void func(const char *msg, va_list args) {
      ...
      bvsnprintf(buf, len, "file %s, line %d: %V (foo %d, bar %d)", file, line, msg, &args, foo, bar);
      ...
    }
    64c5ad58
Name
Last commit
Last update
..
Makefile Loading commit data...
alloca.h Loading commit data...
birdlib.h Loading commit data...
bitops.c Loading commit data...
bitops.h Loading commit data...
bitops_test.c Loading commit data...
buffer.h Loading commit data...
buffer_test.c Loading commit data...
checksum.c Loading commit data...
checksum.h Loading commit data...
checksum_test.c Loading commit data...
event.c Loading commit data...
event.h Loading commit data...
event_test.c Loading commit data...
fletcher16.h Loading commit data...
fletcher16_test.c Loading commit data...
flowspec.c Loading commit data...
flowspec.h Loading commit data...
flowspec_test.c Loading commit data...
hash.h Loading commit data...
hash_test.c Loading commit data...
heap.h Loading commit data...
heap_test.c Loading commit data...
idm.c Loading commit data...
idm.h Loading commit data...
ip.c Loading commit data...
ip.h Loading commit data...
ip_test.c Loading commit data...
lists.c Loading commit data...
lists.h Loading commit data...
lists_test.c Loading commit data...
mac.c Loading commit data...
mac.h Loading commit data...
mac_test.c Loading commit data...
macro.h Loading commit data...
md5.c Loading commit data...
md5.h Loading commit data...
mempool.c Loading commit data...
net.c Loading commit data...
net.h Loading commit data...
patmatch.c Loading commit data...
patmatch_test.c Loading commit data...
printf.c Loading commit data...
printf_test.c Loading commit data...
progdoc Loading commit data...
resource.c Loading commit data...
resource.h Loading commit data...
resource.sgml Loading commit data...
sha1.c Loading commit data...
sha1.h Loading commit data...
sha256.c Loading commit data...
sha256.h Loading commit data...
sha512.c Loading commit data...
sha512.h Loading commit data...
slab.c Loading commit data...
slist_test.c Loading commit data...
slists.c Loading commit data...
slists.h Loading commit data...
socket.h Loading commit data...
string.h Loading commit data...
tbf.c Loading commit data...
timer.c Loading commit data...
timer.h Loading commit data...
unaligned.h Loading commit data...
xmalloc.c Loading commit data...