Ludwig Isaac Lim <[EMAIL PROTECTED]> writes:

> Is there a way of preventing environment variables to be modified?

Environment variables exist in the process that has them (not to mention
being as temporal as the process having them,) so it doesn't really make
sense for such to be `read-only'.

If you want such an effect, however, you can always just fork(2) the
process, do your work in the copy, and kill that fork, all the while
your original process kept untouched.

Cheers,

Zakame


-- 
Zak B. Elep
[EMAIL PROTECTED]
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
plug@lists.linux.org.ph (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to