al_ustr_append(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

πŸ’… al_ustr_append(3) πŸ’…

okay bestie, this one is from the Library Functions Manual (the Allegro corner of it, specifically), and it’s literally the β€œstick one ALLEGRO_USTR onto the end of another” function. no cap. 🫢


πŸŽ€ NAME πŸŽ€

al_ustr_append - Allegro 5 API


✨ SYNOPSIS ✨

#include <allegro5/allegro.h>

bool al_ustr_append(ALLEGRO_USTR *us1, const ALLEGRO_USTR *us2)

🌸 DESCRIPTION 🌸

okay so here’s the vibe: you take us2 and append it to the end of us1. that’s it. that’s the whole main character move. πŸ’…

It returns true on success, false on error. so if it comes back false, something went sideways β€” check it, bestie. 🫢

This function can be used to append an arbitrary buffer:

ALLEGRO_USTR_INFO info;
al_ustr_append(us, al_ref_buffer(&info, buf, size));

πŸ¦‹ SEE ALSO πŸ¦‹


πŸ’– xoxo, this footer is serving Allegro reference manual / al_ustr_append(3) energy β€” and the original footer doesn’t print a date, so I’m not gonna invent one fr fr. catch u later! πŸ’–

πŸ“¦ where this page comes from
  • arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms