Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

end_of_function(3alleg4) [osx man page]

END_OF_FUNCTION(3alleg4)					  Allegro manual					  END_OF_FUNCTION(3alleg4)

NAME
END_OF_FUNCTION - Locks the code used by a timer. Allegro game programming library. SYNOPSIS
#include <allegro.h> Macro END_OF_FUNCTION(function_name); DESCRIPTION
Due to interrupts, you are required to lock all the code used by your timer routines. See the description of install_int_ex() for a more detailed explanation and usage example. SEE ALSO
install_int(3alleg4), install_int_ex(3alleg4), exkeys(3alleg4), exscn3d(3alleg4), exsprite(3alleg4), exswitch(3alleg4), extimer(3alleg4), exupdate(3alleg4), exzbuf(3alleg4) Allegro version 4.4.2 END_OF_FUNCTION(3alleg4)

Check Out this Related Man Page

extimer(3alleg4)						  Allegro manual						  extimer(3alleg4)

NAME
extimer - Using the timer (delays and interrupts). Allegro game programming library. SYNOPSIS
#include <allegro.h> Example extimer DESCRIPTION
This program demonstrates how to use the timer routines. These can be a bit of a pain, because you have to be sure you lock all the memory that is used inside your interrupt handlers. The first part of the example shows a basic use of timing using the blocking function rest(). The second part shows how to use three timers with different frequencies in a non blocking way. SEE ALSO
END_OF_FUNCTION(3alleg4), END_OF_MAIN(3alleg4), LOCK_FUNCTION(3alleg4), LOCK_VARIABLE(3alleg4), SCREEN_W(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), clear_to_color(3alleg4), desktop_palette(3alleg4), font(3alleg4), install_int(3alleg4), install_int_ex(3alleg4), install_keyboard(3alleg4), install_timer(3alleg4), key(3alleg4), keypressed(3alleg4), makecol(3alleg4), read- key(3alleg4), rest(3alleg4), screen(3alleg4), set_gfx_mode(3alleg4), set_palette(3alleg4), textprintf_centre_ex(3alleg4) Allegro version 4.4.2 extimer(3alleg4)
Man Page

13 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help with AWK

Hi All, I'm usually pretty good with this stuff, but my current shell script project has got me stumped. Essentially, I've created a dynamic shell menu based upon files in a single folder. It's tree-based and uses a numeric and standardised naming format: #ls -l total 0 -rw-r--r-- 1 root... (5 Replies)
Discussion started by: cs03dmj
5 Replies

2. UNIX for Dummies Questions & Answers

Odd .sh behavior in script

Hello, I have been working on a what I thought was a fairly simple script for installing a software kit on Linux and Unix I am not new to scripting but am far from being fluent in sh scripting. any assistance would be appreciated. I have an odd bug occuring when executing the script. When... (2 Replies)
Discussion started by: robertmcol
2 Replies

3. Shell Programming and Scripting

awk - split function

Hi, I have some output in the form of: #output: abc123 def567 hij890 ghi324 the above is in one column, stored in the variable x ( and if you wana know about x... x=sprintf(tolower(substr(someArray,1,1)substr(userArray,3,1)substr(userArray,2,1))) when i simply print x (print x) I get... (7 Replies)
Discussion started by: fusionX
7 Replies

4. Shell Programming and Scripting

background processing in BASH

I have script 3 scripts 1 parent (p1) and 2 children child1 and child2 I have script 3 scripts 1 parent 2 children child1 child2 In the code below the 2 child processes fire almost Instantaneously in the background, Is that possible to know the status of pass/fail of each process... (12 Replies)
Discussion started by: jville
12 Replies

5. Programming

getting double to be converted

got a problem. i have to get A to + 20.70 but i keep getting A + 20 in my logic below. anyone can guide me on where i go wrong? i understand it is a double, but i do not noe how to parse it to the function so that it can read in as 20.70 instead of just 20.. i highlighted the problem part... (1 Reply)
Discussion started by: xiaojesus
1 Replies

6. Shell Programming and Scripting

awk getline to fetch output

Input File: CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 0 37 0 594 2205 1174 123 8 6 36 0 1954 6 8 0 86 1 1 0 49 26 0 44 3 2 6 0 624 2 1 0 97 2 0 0 5 5 0 8 1 0 1 ... (3 Replies)
Discussion started by: bhallarandeep
3 Replies

7. Shell Programming and Scripting

script to check large directory--help

All, I have one script which gives me the O/P of "percentage of filesystems utilization". we have four filesystem for which i want to check and get the mail when utilization is more than 40%. below are the filesystems. /AB/Filesy1 /AB/Filesy2 /AB/Filesy3 /AB/Filesy4 Below script is working... (14 Replies)
Discussion started by: anshu ranjan
14 Replies

8. Shell Programming and Scripting

Do while loop in a do while

Hi, I've a script that is using do while loop. It reads some some stuf using ps command then calls a function. The function has another do while loop in it. My problem is that when the second loop is completed, the script exits. The whole thing is a bit complex, I'll post some snippet here. ... (9 Replies)
Discussion started by: nitin
9 Replies

9. Linux

Block with fcntl

Good evening, friends I'm learning with a book: Programming Linux by Kurt Wall (Prentice Hall) The code below could run in two windows (./lockit /tmp/foo in both for example). There is not problem with the read block (first byte) but when one, apply the write block while in the other is... (1 Reply)
Discussion started by: joe_cosmo
1 Replies

10. UNIX for Dummies Questions & Answers

Sending mail to multiple recipient added in a text file

I am trying to find a code that can help me mail to a list of recipients which are in a text file. Sample code $cat recipient.txt me@test.com me1@test.com me2@test.com I want a mailx step that can read contents of recipient.txt and mail to all the users. I don't want to use mails... (1 Reply)
Discussion started by: Gurkamal83
1 Replies

11. Shell Programming and Scripting

Display match or no match and write a text file to a directory

The below bash connects to a site, downloads a file, searches that file based of user input - could be multiple (all that seems to work). What I am not able to figure out is how to display on the screen match found or no match found" and write a file to a directory (C:\Users\cmccabe\Desktop\wget)... (4 Replies)
Discussion started by: cmccabe
4 Replies

12. Shell Programming and Scripting

Installer is shell script not working

Hi Guys, I have one installer shell script which normally get from the dev team to install the app and it works fine for years (in IAX) the same installer/script iam trying to run in Linux 7.2 but it stuck somewhere which I cannot debug, can you help me to point out where it stuck . here is the... (9 Replies)
Discussion started by: Riverstone
9 Replies

13. Programming

Very Basic Arduino Uno Board Testing

A very simple Arduino board test... LOL Here is some very easy code to test a cheap Arduino board I just got from China via Aliexpress. I am still waiting on a about 30 more orders from Aliexpress for more Arduino stuff. This was the first order which made it here. /* Arduino test-code... (18 Replies)
Discussion started by: Neo
18 Replies