[Info-vax] completion status from LIB$SPAWN

Howard S Shubs howard at shubs.net
Sat Apr 28 19:17:55 EDT 2012


In article <jneapq$lnm$1 at dont-email.me>,
 David Froble <davef at tsoft-inc.com> wrote:

> You're making this a lot harder than it actually is.

Yes.  It's very simple.  Take the returned status value.  Test it.  If 
true, you're fine.  If not true, something went wrong.  End.

Example:

unsigned long int status;
status = LIB$SPAWN (yadda yadda);
if (!status)
   uhoh;

Yes, it's that simple.

-- 
May joy be yours all the days of your life! - Phina
We are but a moment's sunlight, fading in the grass. - The Youngbloods
Those who eat natural foods die of natural causes. - Kperspective



More information about the Info-vax mailing list