1ugetx(3)                        Allegro manual                        ugetx(3)
2
3
4

NAME

6       ugetx,  ugetxc  -  Low  level  helper function for reading Unicode text
7       data. Allegro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       int ugetx(char **s);
14
15       int ugetxc(const char **s);
16

DESCRIPTION

18       Low level helper function for reading Unicode text data. ugetxc is pro‐
19       vided for working with pointer-to-pointer-to-const char data. Example:
20
21          char *p = string;
22          int first_letter, second_letter, third_letter;
23          first_letter = ugetx(&p);
24          second_letter = ugetx(&p);
25          third_letter = ugetx(&p);
26

RETURN VALUE

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

SEE ALSO

34       ugetc(3), usetc(3), uwidth(3), ucwidth(3), uisok(3)
35
36
37
38Allegro                          version 4.2.3                        ugetx(3)
Impressum