[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mgp-users 01236] Re: Please add system() patch



Hi,

Tim Maher <tim@consultix-inc.com> writes:
[...]
> below. It makes use of the #define'd macro WEXITSTATUS, which
> is defined on Linux in stdlib.h.  My version of Solaris doesn't
> have a (standard) C compiler, so I'm not sure where the definition
> would be found there, but I'd like to think it would be in the
> same place.  Can somebody tell us?  

welle@pi55:/usr/include > grep WEXITSTATUS */*h
sys/wait.h:#define      WEXITSTATUS(stat)       ((int)(((stat)>>8)&0xFF))


Michael