Hi dev team,<br><br>Would be good to have strdup in pkg_ style and use our memory manager, something like this (or using macroses):<br><br>char *pkg_strdup(const char *s) {<br> char *p = pkg_malloc(strlen(s) + 1);<br> if(p) { strcpy(p, s); }<br>
return p;<br>}<br><br>