Listing 3

typedef struct {
   size_t size;
   char *str;
} string_m;