3 ms·asprintf is even better (although different because it allocates a new string).by rwmj 3y agoasprintf is even better (although different because it allocates a new string).