schultzd@kira.msu.edu (David Schultz) (07/12/90)
I would like to write a TOS application which allows the setting of environment variables such that a program called from the desktop has access to them. Namely, I want to call cc (Sozobon C) from the desktop. I was attempting to use the putenv() function, but to no avail: error_no = putenv( environment ); /* int error_no */ /* char* environment */ /* environment = (char*)malloc(256*sizeof(char)) */ /* The value of environment is of the form <VARIABLE>=<value> */ This is the first 'useful' thing I've tried to write for my Atari, so even if it already exists in some form or other I would still like to get mine working. Even if only to learn more about how this machine works... thanks... -- David W. Schultz (Armaggedon Software Development) Michigan State University - Association for Computing Machinery schultzd@frith.egr.msu.edu OR schultzd@cpsin.cps.msu.edu