[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Environment variables (setenv/putenv)
- From: "Szabolcs Szasz" <sz@...>
- Date: Sun, 9 Feb 2003 12:08:05 +0100
Thanks very much for the comments, first of all!
> > >Another question: why is there no setenv() in the
> > >std. lib???
> >
> > Because it's not ANSI C. The man page in my Linyx box says that setenv is
> > only in BSD 4.3, not even in POSIX, which seems to have putenv.
>
> Of course, you are quite right, setenv is not in ANSI C.
>
> Your Linux man pages are incorrect (surprise!).
>
> setenv is in POSIX, see
;) Well, rephrasing the question then a bit...:
Is the natural pair of getenv(), by whatever name,
available in LUA? I could not find it.
If it really is missing, is there any _good_ reason
for not adding it (again, by whatever name)?
Thanks,
Sz.