AL_ID(3alleg4) Allegro manual AL_ID(3alleg4)NAME
AL_ID - Converts four 8 bit values to a packed 32 bit integer ID. Allegro game programming library.
This macro can be used to create a packed 32 bit integer from 8 bit characters, on both 32 and 64 bit machines. These can be used for vari-
ous things, like custom datafile objects or system IDs. Example:
#define OSTYPE_LINUX AL_ID('T','U','X',' ')
SEE ALSO DAT_ID(3alleg4)Allegro version 4.4.2 AL_ID(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.
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));
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)
I need a help. I need to know:
1. the individual core id, physical id of a running process on multicore inside a program. The system file /proc/cpuinfo shows all the ids of all the processes. But I need to know runtime, what exact core id and physical id , the running process has.... (0 Replies)
I am having problems with some data that were created using Kaleidagraph. Now, I am looking for a software for Linux which can open and handle .QDA files.
All I need is to convert these .QDA files into a more convenient format (.dat, .txt whatever...) so that I can create graphs... (1 Reply)
I have a long list of data which has the following structure
The number shows the unique identity of the word. And all homophones are clustered with the same number ID.
An example will make this clear
The awk script I have allows conversion of a list to row but on condition that each... (4 Replies)
I am using solaris 10. Requirement is I need to give sudo access to the normal id's to the application userid.
Example:I have an personal id calle "rzynv5" on the solaris server.I have an application id called "gmdidp".Requirement here is when user logged in as rzynv5 next thing he... (4 Replies)
Hi, i tried to do this script:
Generate a "unique" 6-digit hexadecimal identifier for your computer. Do not use the flawed hostid command. Hint: md5sum /etc/passwd, then select the first 6 digits of output.
Fom 0 to 9 and from a to f
echo "--------------------"... (4 Replies)
I have a large database of names which I have sorted on reverse with a Perl Script. A sample is provided below
angurbai... (11 Replies)