On Fri, 6 Oct 2023 01:15:51 +0000, Seymour J Metz <sme...@gmu.edu> wrote:
>The issue isn't what has access to environmental variables, but rather what >creates them. The creator is C on the first call of PUTENV. It can be any program which is not necessarily a shell. Of all the large list of shells (e.g. ksh, bash, sh and many more) makes you think each shell has it's own implementation of PUTENV. Some shells are open source. The ones I've looked at use putenv and setenv from STDLIB. However for accessing it, they ignore getenv because it is so lightweight. Instead, use envp external variable directly and access each array entry. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN