asmprintf
asmprintf(&fp, INT_MAX, &r, "%s", krl->comment);
asmprintf(&fp, INT_MAX, &r, "%s", rki->key_id);
asmprintf(&buf, INT_MAX, &cols, "%-*s", file_len, file);
asmprintf(&obuf, INT_MAX, &cols, " %s", buf);
if (asmprintf(&cp, INT_MAX, NULL, "%.*s", (int)slen, user) == -1)
if (asmprintf(&display_prompt, INT_MAX, NULL, "(%s@%s) %s",
int asmprintf(char **, size_t, int *, const char *, ...)