1 #include <string.h> 2 3 void *memdup(const void *src, size_t len); 4 int str_append(char **s, int *len, const char *a); 5