From: "A.Appleyard" 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?