Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ENVIRONMENT VARIABLES GETENV etc 1

Status
Not open for further replies.

harshcseiitb

Programmer
Sep 30, 2002
7
IN
what is the use of getenv and setenv subroutines
can i create parallel processes via them or there is some another way
i don't have a FM compiler

plz help me out its very urgent
 
Don't really know what OS/Compiler you are using.

Getenv and setenv normally set the environment variables. The implementation varies depending on the OS you are using. On DOS, it actually changes the variable. On Unix, it creates another shell and changes them within that shell so your original shell remains the same. There is a way of getting it to change in the current shell too. I don't know about windows.

They can't be used for creating parallel processes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top