ugetx(3)
β¨ NAME β¨
okay so bestie, welcome to ugetx(3) π β this page is all about ugetx and ugetxc, your low level helper function for reading Unicode text data. They live in the Allegro game programming library, and yes, they are iconic for that.
π SYNOPSIS π
#include <allegro.h>
int ugetx(char **s);
int ugetxc(const char **s);
π¦ DESCRIPTION π¦
So ugetx and ugetxc are low level helper functions for reading Unicode text data. ugetxc is provided so you can work with pointer-to-pointer-to-const char data. That's the whole vibe.
Example time, bestie:
char *p = string;
int first_letter, second_letter, third_letter;
first_letter = ugetx(&p);
second_letter = ugetx(&p);
third_letter = ugetx(&p);
π RETURN VALUE π
It returns the character pointed to by s in the current encoding format, and then advances the pointer to the next character after the one it just handed back. No cap. π
π SEE ALSO π
Signing off from the Allegro manual, version 4.4.3, on the ugetx(3) page β the footer didn't drop a date, so just pretend there's a cute little timestamp right here. πβ¨
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms