🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.ibm.pc.programmer
1 messages
1 total messages Started by Stephen M. Dunn Tue, 13 Mar 1990 19:42
Unsetting environment vars in Turbo C
#1557
Author: Stephen M. Dunn
Date: Tue, 13 Mar 1990 19:42
18 lines
1160 bytes
   Does anyone know how to unset an environment variable in Turbo C
2.0?  I've tried code of the form:

putenv ("foo=");

but it just changes the entry for foo to say

foo=

and I can't find any other functions that make changes to the environment.
Do I have to go in and play around with the environment pointers
directly?
-- 
Stephen M. Dunn                               cs4g6ag@maccs.dcss.mcmaster.ca
          <std_disclaimer.h> = "\nI'm only an undergraduate!!!\n";
****************************************************************************
    "So sorry, I never meant to break your heart ... but you broke mine."
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