home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
progc
/
flilib.arj
/
JEXISTS.C
< prev
next >
Wrap
C/C++ Source or Header
|
1989-11-16
|
204b
|
18 lines
#include "jlib.h"
/* Does file exist? */
Boolean dos_exists (title)
char *title;
{
int f;
if ((f = dos_open (title, DOS_READ_ONLY))!=0)
{
dos_close (f);
return(1);
}
return(0);
}