[klibc] Macros for wait() status

Jon Smirl jonsmirl at yahoo.com
Sun Feb 15 12:57:49 PST 2004


ok, I fixed it on my end. It was old code inherited some other project.

--- "H. Peter Anvin" <hpa at zytor.com> wrote:
> Jon Smirl wrote:
> > Can I get the macros for interpreting wait() exit status?
> > 
> > wait(&status);
> > if (__WIFEXITED(status) && (__WEXITSTATUS(status) == 0)) {  //need klibc fix
> > 
> 
> No, they need a fix in your code.
> 
> Don't use double-underscore macros - they're libc internal.
> 
> The standard WIFEXITED() etc macros are in klibc now.
> 
> 	-hpa


=====
Jon Smirl
jonsmirl at yahoo.com

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html



More information about the klibc mailing list