DOKK / manpages / debian 10 / allegro4-doc / _ustrdup.3alleg4.en
_ustrdup(3alleg4) Allegro manual _ustrdup(3alleg4)

_ustrdup - Duplicates a string with a custom memory allocator. Allegro game programming library.

#include <allegro.h>

char *_ustrdup(const char *src, void* (*malloc_func)(size_t))

Does the same as ustrdup(), but allows the user to specify a custom memory allocator function.

ustrdup(3alleg4), uconvert(3alleg4), ustrsize(3alleg4), ustrsizez(3alleg4)

version 4.4.2 Allegro