Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
ugetx(3)			Allegro	manual			      ugetx(3)

NAME
       ugetx,  ugetxc  -  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 pro-
       vided 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  re-
       turned.

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

Allegro				 version 4.4.3			      ugetx(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=ugetx&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help