home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Borland Programmer's Resource
/
Borland_Programmers_Resource_CD_1995.iso
/
code
/
graphics
/
flilib
/
flisrc
/
jexists.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1995-05-19
|
204 b
|
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);
}