Function TCOD_strdup

Function Documentation

char *TCOD_strdup(const char *s)

Allocate and return a duplicate of string s.

The returned memory must be freed manually.