ugetx - Man Page

Low level helper function for reading Unicode text data. Allegro game programming library.

Synopsis

#include <allegro.h>

int ugetx(char **s);

int ugetxc(const char **s);

Description

Low level helper function for reading Unicode text data. ugetxc is provided for working with pointer-to-pointer-to-const char data. Example:

   char *p = string;
   int first_letter, second_letter, third_letter;
   first_letter = ugetx(&p);
   second_letter = ugetx(&p);
   third_letter = ugetx(&p);

Return Value

Returns the character pointed to by `s' in the current encoding format, and advances the pointer to the next character after the one just returned.

See Also

ugetc(3), usetc(3), uwidth(3), ucwidth(3), uisok(3)

Referenced By

register_uformat(3), set_uformat(3), ucwidth(3), ugetc(3), uisok(3), usetc(3), utolower(3), utoupper(3), uwidth(3).

The man page ugetxc(3) is an alias of ugetx(3).

version 4.4.3 Allegro manual