From: "Martin Czamai" Newsgroups: comp.os.msdos.djgpp Subject: writing of an exit value to screen or file Date: Thu, 9 Mar 2000 18:36:40 +0100 Organization: callisto germany.net GmbH Lines: 14 Message-ID: <8a8nci$r6n$1@news.germany.net> NNTP-Posting-Host: d21173-gw.netzdienste.de X-Trace: news.germany.net 151.189.4.62 952623314 27863 X-Complaints-To: news AT germany DOT net NNTP-Posting-Date: 9 Mar 2000 17:35:14 GMT X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello out there! Is it possible to display the exit value of a program on the screen BEFORE it terminates or is it just possible to evaluate the value at the DOS prompt? Currently I've registered an exit-handler by using atexit(..) and I want to display the value in this handler. Hoping for any reply thanks in advance Martin Czamai M DOT Czamai AT peak-system DOT com