see env(3), basically the rfork flags affect it. check the man page. On Jun 8, 2012, at 8:02 PM, Friedrich Psiorz wrote:
> hi! I'm new to Plan 9 and I don't understand this behavior:
>
> I wrote a program that basically just does
> putenv("foo", "bar");
>
> After running it,
> echo $foo
> prints just an empty line, while
> cat /env/foo
> prints bar. Can anyone explain?
>
---
Federico Benavento
[email protected]
