al_ustr_assign_cstr(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– al_ustr_assign_cstr(3alleg5) πŸ’–

okay bestie, welcome to the Allegro 5 API manual page for al_ustr_assign_cstr(3alleg5) β€” yes the page name is the same as the function name, that's just how the Allegro reference manual rolls, it's giving consistent πŸ’…


✨ SYNOPSIS ✨

#include <allegro5/allegro.h>

bool al_ustr_assign_cstr(ALLEGRO_USTR *us1, const char *s)

🌸 DESCRIPTION 🌸

so here's the tea: this function takes your string us1 and overwrites it with the contents of the C-style string s. like, full replacement, no leftovers, the old contents are gone gone πŸ™ˆ

Returns true on success, and false on error. that's it, that's the whole vibe check ✨


πŸ¦‹ SEE ALSO πŸ¦‹

(yes, it's linking to itself. iconic behavior honestly πŸ‘‘)


mwah πŸ’œ that's the whole page β€” brought to you by the Allegro reference manual, page al_ustr_assign_cstr(3alleg5). go forth and assign your C strings, bestie, you got this fr fr 🫢✨

πŸ“¦ where this page comes from