|
On Thu, 2003-09-04 at 13:01, Scott Klement wrote: > See the difference? I only check errno if an error has occurred. Absolutely, thank you. > With QzshSystem(), if it returns a -1, then the QzshSystem() API itself > failed, in that case you can check errno. > > But, if you get a number higher than 0, that means that the command that > it ran failed. This does not set errno, but rather returns the exit code > that the called program specified. So, if you get higher than 0, you > don't want to check errno. Is there anything I can do with the Exit Code? Is this where I need to use your WIF* procedures? The ones listed here: http://archive.midrange.com/rpg400-l/200204/msg00176.html > Hope that helps... Tremendously. I think I've just about got it... of course that's usually when the roof caves in ;-) Joel http://www.rpgnext.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.