diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-07-21 22:44:14 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-07-22 11:06:54 +0200 |
commit | 6203966fbf1f8886ff59cc9d6350b034ee5374c9 (patch) | |
tree | ac0232bad6af82425a5009788c1349237a25e813 /src/sha1.h | |
parent | 9d8d0c18b0329f11990b8e0f2d65424967b6293f (diff) | |
download | calcurse-6203966fbf1f8886ff59cc9d6350b034ee5374c9.tar.gz calcurse-6203966fbf1f8886ff59cc9d6350b034ee5374c9.zip |
Add vasprintf() and asprintf()
The new utils.c functions vasprintf() and asprintf() are analogs to
sprintf() and vsprintf(). However, instead of requiring a buffer that is
large enough to hold the output data, the functions allocate a string
and return a pointer to it.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/sha1.h')
0 files changed, 0 insertions, 0 deletions