#include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct _dys { unsigned int len; unsigned int free; char buf[]; }dys; char *dynewlen(const void *prt,size_t initlen) { dys *ds=NULL; if(prt) { ds=(dys *)malloc(sizeof(*ds)+initlen+1); } else { ds=(dys *)calloc(sizeof(*ds)+initlen+1,1); } ds->len=initlen; ds->free=0; if(prt&&initlen) { memcpy(ds->buf,prt,initlen); } ds->buf[initlen]='