delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/10/14:39:43

Date: Fri, 10 Mar 2000 12:45:25 -0500 (EST)
Message-Id: <200003101745.MAA22078@indy.delorie.com>
From: Eli Zaretskii <eliz AT delorie DOT com>
To: djgpp AT delorie DOT com
CC: buers AT gmx DOT de (Dieter Buerssner)
In-reply-to: <8a8t89$3dbeo$2@fu-berlin.de> (buers@gmx.de)
Subject: Re: writing of an exit value to screen or file
References: <8a8nci$r6n$1 AT news DOT germany DOT net> <8a8t89$3dbeo$2 AT fu-berlin DOT de>
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> /* possibly in some header file, also stdio.h and stlib.h
>    must be included somewhere */
> #define exit my_exit
> void my_exit(int);

This will not catch calls to `exit' from library functions (and any
other functions that aren't compiled with the modified header files).

- Raw text -


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