Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!linus!philabs!cmcl2!seismo!brl-tgr!tgr!Bakin@HI-MULTICS.ARPA From: Bakin@HI-MULTICS.ARPA (Jerry Bakin) Newsgroups: net.unix-wizards Subject: Setting environment variables within a C program. Message-ID: <10166@brl-tgr.ARPA> Date: Tue, 23-Apr-85 18:26:25 EST Article-I.D.: brl-tgr.10166 Posted: Tue Apr 23 18:26:25 1985 Date-Received: Fri, 26-Apr-85 04:26:22 EST Sender: news@brl-tgr.ARPA Lines: 13 Hi, I understand that if I type freds_wife = Wilma export fred_wife from the shell, I can access freds_wife within a C program by using getenv. How do I change the value of freds_wife from Wilma to Betty within the C program, and get the environment to understand the change later? Jerry