03-01-2007
It's a c program. You have to compile it. He created it as dst.c (look in the second example), compiled it with cc and then ran a.out, the resulting compiled binary.
Carl
10 More Discussions You Might Find Interesting
1. Solaris
I have several servers that are outside the country and are running Solaris 6 mainly with a few Solaris 7 boxes here and there. Because of that, we need to schedule time to change the time on March 11th and again in April, October and November. At least until the customer decides it's time to... (3 Replies)
Discussion started by: BOFH
3 Replies
2. SCO
I checked SCO's site for DST fix for SCO 5.0.0 and there iis not one available. Can I run a script in the cron to read in and change the time?
TiA (2 Replies)
Discussion started by: tbgeek
2 Replies
3. SCO
Hello,
Anyone know where I can find the DST updates for SCO Xdesktop 3.6.3?
Thanks (0 Replies)
Discussion started by: ddzc
0 Replies
4. AIX
Just a quick last minute thing here.
AIX 5.1. I ran the perl script referenced in the tutorials and found the AIX box is triggering DST on the 14th instead of the 11th. The 5.2 boxes come back with the right answers. The DST patches have been applied (or I'd have Apr 1st instead of the 14th).
... (0 Replies)
Discussion started by: BOFH
0 Replies
5. Solaris
How to update DST patch. Whatat are the necessary steps that have to be taken on the servers to update this patch?. (1 Reply)
Discussion started by: sandeepkv
1 Replies
6. Shell Programming and Scripting
Hello ,
We are investigating an issue from a customer from Western Australia related to DST change on 25 th March. The customer in Australia has the below settings for Time Zone. The System is Solaris 9.
TZ=Australia/NSW
CMASK=022
We are trying to reproduce the problem in our local... (1 Reply)
Discussion started by: Mohammed
1 Replies
7. AIX
Hello.
Our application is running on AIX box located in NSW , Australia. As DST starts on Oct 28th - Do you know IF AIX boxes have auto updates of day light saving times? IF not , how to do it? IF yes, where can I verify it?
Thank you! (3 Replies)
Discussion started by: panchpan
3 Replies
8. High Performance Computing
Hi All,
If I need to verify my solaris 8 with patch 110910-03 and I query the server below:
#showrev -p | grep 'Patch: 110910-'
Patch: 110910-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
Do I still need to apply the patch if the older 110910-01 patch exist?
Please... (5 Replies)
Discussion started by: itik
5 Replies
9. Linux
Hello,
I have linux server which is one hour behind after the DST change last week. I post some information below on the settings. any helpwould be helpful since I am newbie..
$ clock
Tue 04 Nov 2008 03:12:26 PM EST -0.785549 seconds
$more clock
Tue 04 Nov 2008 03:12:26 PM EST... (2 Replies)
Discussion started by: jbdavis02@yahoo
2 Replies
10. UNIX for Advanced & Expert Users
Hi,
I have one confusion regarding DST chnages which are going to happen after October. :confused: :confused:
I have few jobs on Autosys which run as per Japan Time. they shoudl not be affected by switiching off of DST time.
Our autosys instance server is based on UK which is running on... (0 Replies)
Discussion started by: girdharsourabh
0 Replies
LEARN ABOUT CENTOS
get_compiled_sprite
get_compiled_sprite(3alleg4) Allegro manual get_compiled_sprite(3alleg4)
NAME
get_compiled_sprite - Creates a compiled sprite using a bitmap as source. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
COMPILED_SPRITE *get_compiled_sprite(BITMAP *bitmap, int planar);
DESCRIPTION
Creates a compiled sprite based on the specified bitmap (which must be a memory bitmap). Compiled sprites are device-dependent, so you have
to specify whether to compile it into a linear or planar format. Pass FALSE as the second parameter if you are going to be drawing it onto
memory bitmaps or mode 13h and SVGA screen bitmaps, and pass TRUE if you are going to draw it onto mode-X or Xtended mode screen bitmaps.
Example:
COMPILED_SPRITE *cspr;
BITMAP *bmp;
...
/* Create compiled sprite from an existent bitmap. */
cspr = get_compiled_sprite(bmp, 0);
if (!cspr)
abort_on_error("Couldn't create compiled sprite!");
/* We don't need the bitmap any more.*/
destroy_bitmap(bmp);
/* Use the compiled sprite. */
...
/* Destroy it when we don't need it any more. */
destroy_compiled_sprite(cspr);
Returns a pointer to the created compiled sprite, or NULL if the compiled sprite could not be created. Remember to free this compiled
sprite later to avoid memory leaks.
SEE ALSO
draw_compiled_sprite(3alleg4), destroy_compiled_sprite(3alleg4)
Allegro version 4.4.2 get_compiled_sprite(3alleg4)