www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/14/21:28:53

Xref: news2.mv.net comp.os.msdos.djgpp:4977
From: harald DOT mommer AT post DOT rwth-aachen DOT de (Harald Mommer)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Stupid Questions
Date: 14 Jun 1996 11:55:13 GMT
Organization: A (still) poorly-installed InterNetNews site
Lines: 17
Sender: harald AT pc103101 DOT dialup DOT rwth-aachen DOT de
Message-ID: <4prjv1$4m@pc103101.dialup.rwth-aachen.de>
References: <Pine DOT LNX DOT 3 DOT 93 DOT 960613154140 DOT 29809A-100000 AT binx DOT mbhs DOT edu>
NNTP-Posting-Host: pc103101.dialup.rwth-aachen.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <Pine DOT LNX DOT 3 DOT 93 DOT 960613154140 DOT 29809A-100000 AT binx DOT mbhs DOT edu>,
	Nissim Chudnoff <nchudnof AT people DOT mbhs DOT edu> writes:

> 1. How do you stop the Control-C halting in your program?

#include <signal.h>

signal(SIGINT, SIG_IGN);
setcbrk(0);

I had the same problem yesterday...

Harald
-- 
*-------*-------*-------*-------*-------*-------*-------*-------*-------*
This message was composed on a Linux machine.
PGP public key available on demand.

- Raw text -


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