delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/24/08:19:45

Date: Wed, 24 Jun 1998 15:19:33 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Mental Teo <s499435 AT dutiwy DOT twi DOT tudelft DOT nl>
cc: djgpp AT delorie DOT com
Subject: Re: ctrl-c
In-Reply-To: <Pine.HPP.3.90.980624102717.13746A-100000@dutiwy.twi.tudelft.nl>
Message-ID: <Pine.SUN.3.91.980624151812.24233D-100000@is>
MIME-Version: 1.0

On Wed, 24 Jun 1998, Mental Teo wrote:

> how can i use ctrl-c as an interupt to call a particular
> function.

Use the library function `signal' to install a signal handler for the 
SIGINT signal.  In the handler, call that particular function you want to 
be called.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019