SIMPLE SOLUTIONS

_USTRDUP(3ALLEG4) - man page online | library functions

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

Chapter
version 4.4.2
_ustrdup(3alleg4)                         Allegro manual                        _ustrdup(3alleg4)

NAME

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

SYNOPSIS

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

DESCRIPTION

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

SEE ALSO

ustrdup(3alleg4), uconvert(3alleg4), ustrsize(3alleg4), ustrsizez(3alleg4)
Allegro version 4.4.2 _ustrdup(3alleg4)
This manual Reference Other manuals
_ustrdup(3alleg4) referred by ustrdup(3alleg4)
refer to uconvert(3alleg4) | ustrdup(3alleg4) | ustrsize(3alleg4) | ustrsizez(3alleg4)