[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[mgp-users 01236] Re: Please add system() patch
- To: mgp-users@mew.org
- Subject: [mgp-users 01236] Re: Please add system() patch
- From: Michael Welle <m.welle@gmx.net>
- Date: Mon, 14 Jul 2003 09:22:54 +0200
- Delivered-to: mailing list mgp-users@mew.org
- In-reply-to: <>
- Mailing-list: contact mgp-users-help@mew.org; run by ezmlm
- References: <> <> <>
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