Can I get the macros for interpreting wait() exit status? wait(&status); if (__WIFEXITED(status) && (__WEXITSTATUS(status) == 0)) { //need klibc fix ====Jon Smirl jonsmirl@yahoo.com __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html
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