register_uformat(3alleg4) v7 man page | unix.com

Man Page: register_uformat

Operating Environment: v7

Section: 3alleg4

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)
Related Man Pages
register_uformat(3alleg4) - debian
register_uformat(3alleg4) - centos
set_uformat(3alleg4) - netbsd
set_uformat(3alleg4) - opendarwin
register_uformat(3alleg4) - opendarwin
Similar Topics in the Unix Linux Community
Need to add prefix using sed or awk from cat the file
Sort by values in the 1st row, leaving first four coulumns untouched
Read a file and save every word in a variable to use
Linux froze and got back working 5 days later, no reboot.
Bash - here document on RHEL 6.8 and 6.9 servers aren't working