Re. Question about accessing shell variables
Posted in 1996
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
Yes if you are using 4.11 or higher informix 4gl then you can use the following built in funciton fgl_getenv("") for more info look in you 4.11 supplement manual. Russ... > From ellis.oncontact.com!rmy.emory.edu!informix-list-owner Mon Jan 15 07:01:01 1996 > From: "Lee J. Krawczyk" <yetta@imap1.asu.edu> > Message-Id: <4dct81$15b@news.asu.edu> > Subject: Question about accessing shell variables > Date: 15 Jan 1996 06:46:25 GMT > Reply-To: "Lee J. Krawczyk" <yetta@imap1.asu.edu> > Organization: Multi-User Solutions Information Consortium > Sender: informix-list-owner@rmy.emory.edu > To: informix-list@rmy.emory.edu > X-Informix-List-To: russell@oncontact.com > X-Informix-List-Id: <news.20271> > > We are new to Informix and are wondering if there is a way to access > shell varibles without calling a C routine to return the value. > > For example, $HOME is set in .profile and I would like to get the value > of $HOME into my program. > > Any suggestions? Thanks. > Russell P. Kahler |||||/// ---------- Internet: russell@oncontact.com ======== / Uh... on!contact Software . | O O | /Just reboot W67 N250A Evergreen Blvd | v_' / --> that will / Cedarburg, WI 53012 # _| |_ fix it / (414) 375-6555 (#) ( ) ---------- # //|* *| #//( * )/ # ===== # ( ) Blah, Blah, Blah. # || || .#---'| |----. #----' -----