Hello Mariano,
WNOHANG is a constant is defined in sys/wait.h, after the compilation
is not included in the object file.
You will have to duplicate its value in the Smalltalk Code. It's value is
1, in linux is defined in bits/waitflags.h as
#define WNOHANG 1
Cheers,
Pablo
On Tue, Dec 22, 2015 at 5:12 PM, Mariano Martinez Peck <
[email protected]> wrote:
> Hi guys,
>
> Say I want to call to waitpid like this:
>
> waitpid(childID, &status, WNOHANG);
>
> How can I do since I don't have access to WNOHANG int value in order to
> send it via argument .... ???
>
> Any idea?
>
> Thanks in advance,
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
--
Pablo Tesone.
[email protected]