j
k
j a
j l
Adam Martinson amartinson@codeweavers.com writes:
len = vsnprintf(NULL, 0, msg, ap); buf = heap_alloc(len+1); vsnprintf(buf, len+1, msg, ap);
len = vsnprintf(NULL, 0, msg, ap);
buf = heap_alloc(len+1);
vsnprintf(buf, len+1, msg, ap);
vsnprintf can also return -1, check how this is done in other places.
Show replies by date
wine-devel@winehq.org
Add to favorites Remove from favorites