www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/11/06/14:16:47

From: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
To: DJGPP AT sun DOT soe DOT clarkson DOT edu
Date: Mon, 6 Nov 1995 17:02:45 GMT
Subject: Getting the return code of a program called by a Gnu C program

  If a program does this:-
  int i = system("MIAOW");
  /* MIAOW.EXE is a program that runs and then exits with fault code N */
  How can the Gnu C/C++ program find the error code that MIAOW.EXE returned?

- Raw text -


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