_ustrdup(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

✨ _ustrdup(3) ✨

omg hi bestie πŸ’– welcome to the Allegro manual page for _ustrdup(3). this one is short but iconic, fr fr.


πŸ¦‹ NAME πŸ¦‹

_ustrdup β€” duplicates a string with a custom memory allocator. it's part of the Allegro game programming library. periodt. πŸ’…


🌸 SYNOPSIS 🌸

#include <allegro.h>

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

πŸ’– DESCRIPTION πŸ’–

It does the same thing as ustrdup(), no cap, but it lets the user specify a custom memory allocator function. that's the whole vibe: duplicate the string, but with your allocator in the mix. ✨


πŸ‘‘ SEE ALSO πŸ‘‘


mwah πŸ’‹ this was the Allegro manual, version 4.4.3, page _ustrdup(3). bye bestie, go forth and allocate responsibly 🫢🌈

πŸ“¦ where this page comes from