home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
kill2.zip
/
kill2src.zip
/
isfile.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-12-21
|
227b
|
16 lines
#define INCL_DOS
#include <os2.h>
int _fastcall isfile (int handle) {
int ret = 0;
int attrs,dev;
if(!DosQHandType(handle,&attrs,&dev)) {
if(attrs & FHT_DISKFILE)
ret = 1;
}
return ret;
}