al_ustr_assign_cstr(3)

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

πŸ’… 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 πŸŽ€


πŸ’– 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