j
k
j a
j l
Juha Vehviläinen wrote: ...
s2 = malloc(n+1); strncpy(s2, str, n); s2[n]=0;
...
or simply
t_resizebytes(str, n, n+1); str[n] = 0;
K.
Back to the thread
Back to the list