Add function for creating hex string literals

This commit is contained in:
Justine Tunney 2021-08-07 07:05:19 -07:00
parent aeeb851422
commit 1f766a332f
14 changed files with 250 additions and 112 deletions

View file

@ -27,6 +27,7 @@
*
* @return bytes appended or -1 if `ENOMEM`
* @see appendz(b).i to get buffer length
* @note O(1) amortized buffer growth
*/
ssize_t(appendf)(char **b, const char *fmt, ...) {
int n;