gnunet-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-developers] [patch] add GNUNET_append_printf function


From: Andrew Cann
Subject: [GNUnet-developers] [patch] add GNUNET_append_printf function
Date: Fri, 14 Feb 2014 20:01:10 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

This patch adds a function which realloc()s a string and prints to the end of
it. Useful for building up strings when you don't know how large a buffer to
allocate beforehand.

I've also added the format(printf) __attribute__ to this and the other *printf
functions.

 - Andrew

Attachment: GNUNET_append_sprintf.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]