home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
200-299
/
ff294.lzh
/
DNet
/
amiga
/
lib
/
getenvval.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-12-11
|
189b
|
21 lines
/*
* GetEnvVal.C
*/
#include "lib.h"
int
GetEnvVal(str)
char *str;
{
char *ptr = GetDEnv(str);
int val = 0;
if (ptr)
val = atoi(ptr);
free(ptr);
return(val);
}