al_ustr_rtrim_ws(3alleg5)
β¨ NAME β¨
al_ustr_rtrim_ws β Allegro 5 API π bestie, this is the page for al_ustr_rtrim_ws(3alleg5), and it's literally the "clean up the right side" string function. No cap.
π SYNOPSIS π
Here's the summoning spell, fr fr:
#include <allegro5/allegro.h>
bool al_ustr_rtrim_ws(ALLEGRO_USTR *us)
π DESCRIPTION π
Okay so picture this: your string has trailing β aka "right" β whitespace characters just chilling at the end. al_ustr_rtrim_ws() removes them. What counts as whitespace? The exact same definition as the C function isspace(), periodt. π§
Returns true on success, or false on error. That's the whole vibe check, bestie. π
π¦ SEE ALSO π¦
Go give these a peek too:
source/version + date check: this page is from the Allegro reference manual, and the page tag is al_ustr_rtrim_ws(3alleg5). The original footer didn't list a date, so there's no date to spill β but the energy is timeless, bestie β¨π
π«Ά
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms