delorie.com/archives/browse.cgi | search |
Date: | Thu, 29 Jan 1998 10:57:12 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
To: | Jerry van Dijk <jvandyk AT ibm DOT net> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: ctrl-c handling question |
In-Reply-To: | <01bd2bf2$0f2058a0$542c5c8b@aptiva> |
Message-ID: | <Pine.SUN.3.91.980129105650.6822C-100000@is> |
MIME-Version: | 1.0 |
On 28 Jan 1998, Jerry van Dijk wrote: > However, when running the following program: > > int main(void) > { > while (1) { > } > } > > pressing CTRL-C has no effect. > > Anyone have any idea as to the cause and how to get around it ? I have an idea: read the documentation of the DJGPP signal-handling mechanism. From the DOS prompt type "info libc alpha signal" and read there. Near the end of the description there are notes about the DJGPP implementation of signals which should make the reasons for the above behavior clear.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |