TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: KEVIN CAMPBELL
from: PETER HAYWOOD
date: 1997-04-09 01:45:00
subject: Re: MS-DOS Env.

Groovy hepcat Kevin Campbell jived with all on 16 Mar 97  05:44:00!
MS-DOS Env.'s a cool scene. Dig it!
 KC> Does anyone know how to inset information into the environment block
  You might try the putenv() function. It has the following format:
int putenv( const char *env_name );
  For example:
const char *env1 = "SOME_ENV=BLAH!";
const char *env2 = "SOME_ENV=";
if(putenv(env1) == 0)    /* puts SOME_ENV=BLAH! into environment */
  printf("Sorry! Not enough environment space!");
putenv(env2);            /* removes SOME_ENV environment variable */
                                                  Wolvaen
... WARNING!  I Steal Taglines! (This one for example)
--- Blue Wave/RA v2.20
---------------
* Origin: The Gate, Melbourne Australia, +61-3-9809-5097 28.8k (3:633/159)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.