al_ustr_assign_cstr(3)
π al_ustr_assign_cstr(3) π
okay so bestie, this page is from the Library Functions Manual β manual name folded in, cute and compliant β¨ β and it's all about the Allegro 5 API. It's one of those tiny manpage girlies, but she still ate. π
πΈ NAME πΈ
al_ustr_assign_cstr β Allegro 5 API
β¨ SYNOPSIS β¨
here's the exact incantation, no cap:
#include <allegro5/allegro.h>
bool al_ustr_assign_cstr(ALLEGRO_USTR *us1, const char *s)
π¦ DESCRIPTION π¦
al_ustr_assign_cstr() does exactly what her name says, no plot twist: she overwrites the string us1 with the contents of the C-style string s. That's the assignment. π
She returns true on success and false on error β like a little boolean vibe check for whether the copy worked. π
π SEE ALSO π
al_ustr_assign_substr(3)β another assign-flavored bestie to peek at.al_ustr_assign_cstr(3)β yes, this page references itself. iconic, honestly. π
π that's the whole page, bestie β source/version: Allegro reference manual; page: al_ustr_assign_cstr(3); date: not listed on this footer, so I'm not inventing one, periodt. π
π¦ 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