home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
RISC DISC 1
/
RISC_DISC_1.iso
/
pd_share
/
code
/
unixlib
/
!UnixLib
/
test
/
c
/
envtest
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
1994-03-08
|
260 b
|
17 lines
#include <stdlib.h>
#include <stdio.h>
#include "unistd.h"
int
main ()
{
puts (getenv ("UnixFS$/tmp"));
puts (getenv ("UnixFS$/tmp"));
puts (getenv ("TMP"));
putenv ("TMP=Hello World");
puts (getenv ("TMP"));
puts (getenv ("TMP"));
return 0;
}