|
NAMEustrdup - Duplicates a string. Allegro game programming library. SYNOPSIS#include <allegro.h> char *ustrdup(const char *src) DESCRIPTIONThis functions copies the null-terminated string `src' into a newly allocated area of memory, effectively duplicating it. Example:
RETURN VALUEReturns the newly allocated string. This memory must be freed by the caller. Returns NULL if it cannot allocate space for the duplicated string. SEE ALSO_ustrdup(3), uconvert(3), ustrsize(3), ustrsizez(3), exconfig(3)
|