Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

al_id(3alleg4) [debian man page]

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. SYNOPSIS
#include <allegro.h> Macro AL_ID(a,b,c,d) DESCRIPTION
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. 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

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Getting core id, physical id of running process

Hi All, 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)
Discussion started by: debrajde
0 Replies

2. UNIX and Linux Applications

Kaleidagraph like software for ubuntu 8.10

Hi all... 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)
Discussion started by: apprentice
1 Replies

3. Shell Programming and Scripting

Converting a list to a row to create clusters based on numerical identity

Hello. 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)
Discussion started by: gimley
4 Replies

4. Solaris

How to give sudo access to the personal id's to that of application id in Solaris 10?

Hi, 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)
Discussion started by: muraliinfy04
4 Replies

5. UNIX for Advanced & Expert Users

6-digit hexadecimal ID in shell

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 #!/bin/bash clear echo "" echo "--------------------"... (4 Replies)
Discussion started by: jose2802
4 Replies

6. Shell Programming and Scripting

How to get list of all functional ids in Solaris?

Hi, I wanted to check which all functional ids have been set up to be used as sftp functional ids? Where can I find this data in solaris machine? (1 Reply)
Discussion started by: sidnow
1 Replies

7. Shell Programming and Scripting

Conditional identification of suffixes moving from right to left: revisited

Dear all, I have a large database of names which I have sorted on reverse with a Perl Script. A sample is provided below agarsingh aghansingh akalsingh akamsingh akbareesingh akhamisingh akramysingh akuvsingh anchalusingh andaroosingh angadsingh anjawsingh angibai angobai angurbai... (11 Replies)
Discussion started by: gimley
11 Replies