From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1d0c2b030ed43de7 X-Google-Attributes: gid103376,public From: mg@dsd.camb.inmet.com (Mitch Gart) Subject: Re: Unix environment variables Date: 1995/03/30 Message-ID: #1/1 X-Deja-AN: 100540671 sender: news@inmet.camb.inmet.com references: <3l9978$5qk@huron.eel.ufl.edu> organization: Intermetrics, Inc. newsgroups: comp.lang.ada Date: 1995-03-30T00:00:00+00:00 List-Id: Joel Rudy (joel.rudy@comm.hq.af.mil) wrote: : What is the easiest way to access a Unix environment variable via Ada. We : are using SunAda 2.1.1 on a Solaris 2.3 operating system. Each compiler on Unix has its own way, see the manual. Or now-a-days most Ada compilers on Unix support the POSIX/Ada packages. POSIX_Process_Environment contains a way to get environment variables. If you use this package your program is even likely to be portable. Mitch Gart