delorie.com/archives/browse.cgi | search |
From: | "Andreas Bierhals" <bierhals AT studserv DOT stud DOT uni-hannover DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: DOS stuff |
Date: | 29 Oct 1997 23:04:40 GMT |
Organization: | RRZN - Newsserver |
Lines: | 14 |
Message-ID: | <01bce3f6$87b0c460$LocalHost@bierhals> |
References: | <19971025031438 DOT 9916 DOT qmail AT hotmail DOT com> |
NNTP-Posting-Host: | h47.ts1.uni-hannover.de |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Hi John! Try using the function (in <stdlib.h>) int setenv(const char *name, const char *value, int rewrite); 'rewrite' is a switch to decide whether to overwrite existing environment variables or to leave the old ones. Greetings Andreas B.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |