Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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

Description

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

Name

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

See Also

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

Allegro                                           version 4.4.3                                _ustrdup(3alleg4)

Synopsis

#include<allegro.h>char*_ustrdup(constchar*src,void*(*malloc_func)(size_t))

See Also