home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.msdos.programmer
- Path: sparky!uunet!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sun4nl!utrcu1!infnews!infnews!fijma
- From: fijma@cs.utwente.nl (Duco Fijma)
- Subject: Catching Ctrl-C in GCC
- Message-ID: <1992Dec23.120652@cs.utwente.nl>
- Sender: usenet@cs.utwente.nl
- Nntp-Posting-Host: utis143
- Organization: University of Twente, Dept. of Computer Science
- Date: Wed, 23 Dec 1992 11:06:52 GMT
- Lines: 22
-
- Hello,
-
- I'am recompiling a piece of UNIX software under DOS using the GCC compiler (ANSI
- C source, not C++).
- The software catches ctrl-C presses using "signal". However, this does not work
- under the MS-DOS port of GCC. The file 'FUNCTIONS.DOC' even mentions that the
- bodies of the functions in signal.h are empty.
-
- Can signal-handling be used? And, if not, how do I catch the ctrl-C key in another
- way?
-
- Thanks,
-
- Duco
-
- --
-
- Duco Fijma tel. X31-53-893718
- University of Twente fax. X31-53-893811
- P.O. Box 217 internet: fijma@cs.utwente.nl
- 7500 AE Enschede
- The Netherlands | No ugly pictures in this sig! |
-