system() always returns 0?

Ray Berry ray at ole.UUCP
Thu Jan 26 03:42:33 AEST 1989


value from the last program it executed.  There are times when it would be
handy to be able to interrogate that number from the command line.  Does
anyone know a way to do this?   The location of the variable?

       Obviously a short shell could be written in c to execute it and
print the value, but it seems as though it the ERRORLEVEL variable must
be present somewhere in memory. 
	


-- 
Ray Berry  KB7HT uucp: ...{uw-beaver|uiucuxc}tikal!ole!ray CS: 73407,3152 
Seattle Silicon Corp. 3075 112th Ave NE. Bellevue WA 98004 (206) 828 4422



More information about the Comp.lang.c mailing list