as Pablo says, you ask too much :) basically, that’s a macro who is replaced by the C preprocessor, even before compiling it. So no, you cannot access it because it does not exist :)
the “official” recommendation for this is: Do a SharedPool. Also there is TalkFFI (look for it in sthub, my internet connection here is too slow and I cannot enter it). I do not think it will work out of the box but basically, it imports header files :) cheers, Esteban > On 22 Dec 2015, at 20:24, [email protected] wrote: > > 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] > <mailto:[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 <http://marianopeck.wordpress.com/> > > > > -- > Pablo Tesone. > [email protected] <mailto:[email protected]>
