Thread View: comp.unix.programmer
1 messages
1 total messages
Started by Jeff Hallett x5163
Thu, 08 Nov 1990 20:29
Environments
Author: Jeff Hallett x5163
Date: Thu, 08 Nov 1990 20:29
Date: Thu, 08 Nov 1990 20:29
24 lines
1215 bytes
1215 bytes
Hi folks.
A more serious posting here. I would like one of my C programs to be
able to change a csh environment variable so I can do something like
(trivial example):
% setenv r2 4
% mySetVar r2 5
% echo $r2
5
Of course the real application is a little more complex, but this is
the general idea. Can someone give me a pointer to a reference or
even a little code that shows me how to do this?
Thanks (if I receive email responses, I'll summarize).
--
Jeffrey A. Hallett, PET Software Engineering
GE Medical Systems, W641, PO Box 414, Milwaukee, WI 53201
(414) 548-5163 : EMAIL - hallettJ@gemed.ge.com
"You mean there wasn't! Look! A chicken! A black chicken!"
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads