Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ugetx(3alleg4) [opendarwin man page]

ugetx(3alleg4)							  Allegro manual						    ugetx(3alleg4)

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 provided for working with pointer-to-pointer-to-const char data. Exam- ple: 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(3alleg4), usetc(3alleg4), uwidth(3alleg4), ucwidth(3alleg4), uisok(3alleg4) Allegro version 4.4.2 ugetx(3alleg4)

Check Out this Related Man Page

register_uformat(3alleg4)					  Allegro manual					 register_uformat(3alleg4)

NAME
register_uformat - Installs handler functions for a new text encoding format. Allegro game programming library. SYNOPSIS
#include <allegro.h> void register_uformat(int type, int (*u_getc)(const char *s), int (*u_getx)(char **s), int (*u_setc)(char *s, int c), int (*u_width)(const char *s), int (*u_cwidth)(int c), int (*u_isok)(int c)); DESCRIPTION
Installs a set of custom handler functions for a new text encoding format. The `type' is the ID code for your new format, which should be a 4-character string as produced by the AL_ID() macro, and which can later be passed to functions like set_uformat() and uconvert(). The function parameters are handlers that implement the character access for your new type: see below for details of these. SEE ALSO
set_uformat(3alleg4), uconvert(3alleg4), ugetc(3alleg4), ugetx(3alleg4), usetc(3alleg4), uwidth(3alleg4), ucwidth(3alleg4), uisok(3alleg4) Allegro version 4.4.2 register_uformat(3alleg4)
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies

2. OS X (Apple)

Undeletable file

Greetings, I'm trying to delete a file with a weird name from within Terminal on a Mac. It's a very old file (1992) with null characters in the name: ␀␀Word Finder® Plus™. Here are some examples of what I've tried: 12FX009:5 dpontius$ ls ␀␀Word Finder® Plus™ 12FX009:5 dpontius$ rm... (29 Replies)
Discussion started by: dpontius
29 Replies

Featured Tech Videos