[PD] zexy list2symbol ... corrected

Krzysztof Czaja czaja at chopin.edu.pl
Fri Aug 17 16:04:10 CEST 2001


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.



More information about the Pd-list mailing list