On Mon, Mar 21, 2011 at 03:40, Paolo Bonzini <[email protected]> wrote:
>> I was wondering if this sort of POSIX support has been added to
>> GST now ?
>
> Nope, not yet.
>
> http://smalltalk.gnu.org/news/gnu-smalltalk-3-2 is a rough list of the
> new functionality that went in since that message.
>
> After 3.2, we went through a relatively long stabilization period with
> limited new features, most of them are listed here:
> http://smalltalk.gnu.org/news/gnu-smalltalk-3-2-3.
>
> Paolo
>


OK so once I  modify kernel/CFuncs.st and I believe I need to also
modify libgst/cint.c what else do I need to do in order to get this to work ?


In kernel/CFuncs.st

    environ: aString [
        <category: 'c call-outs'>
        <cCall: 'environ' returning: #(#ptr #string) args: #()>
        
    ]



and in libgst/cint.c

  _gst_define_cfunc ("getenv", getenv);
  _gst_define_cfunc ("environ", environ);



cheers,

      mehul


-- 
Mehul N. Sanghvi
email: [email protected]

_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to