[Ilugc] gaim usage + Signals

  • From: arvy@xxxxxxxxxxx (Arvind Kalyan)
  • Date: 11 May 2004 12:49:52 +0530

Hey,

        Look at the source code you would most probably see some
signal(); functions.

        Thats the functionality that you need to implement yourself
for the signals that you are interested in.

        Remember that you need to enable the sighandler right after
you are done with processing the signal again as the sighandler is
cleared immediately after the sighandler is invoked upon the signal.

        That may not make sense to you. Please read about "Signal
Handling" in `info libc`.

Regards,
arv

vikram balaji <tayirvadai@xxxxxxxxxxx> writes:

hi this is vikram,
i have installed gaim 0.59 version that comes with
RH9.

I read that users can write their function for a
signal given to a program.
What is the procedure to do so?(i.e) Say i have
written a program in C to calculate simple interest.If
i want to calculate it only on obtaining a signal say
CTRL C, How will i do it?
Also can user set his own control signals say CTRL
Z,W,E etc.If so how do i set them and associate them?
thanks in advance
bye
vikram


________________________________________________________________________
Yahoo! India Matrimony: Find your partner online. 
http://yahoo.shaadi.com/india-matrimony/
_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with 
"unsubscribe <password> address"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc



-- 
Arvind Kalyan (arv) <arvy at kongu dot ac dot in>
i=0141;do{putchar(i);i=i&1?(0x10|i&0xf0)|(i&0xf)<<1:i&4?0:i|4;}while(i);


Other related posts: