mirror of
https://github.com/SEPPDROID/Digital-Research-Source-Code.git
synced 2025-10-26 09:54:20 +00:00
Upload
Digital Research
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
|
||||
/*----------------------------------------------------------------------*\
|
||||
| NAME : is_sysfile |
|
||||
| CREATED : 18-August-83 LAST MODIFIED: 18-August-83 |
|
||||
| FUNCTION: Is_sysfile checks to see if an FCB references a |
|
||||
| system type file. |
|
||||
| INPUT : fcb -- ptr to an FCB to check |
|
||||
| OUTPUT : Return 1 if a system file was found, 0 if not. |
|
||||
\*----------------------------------------------------------------------*/
|
||||
|
||||
#include <portab.h>
|
||||
|
||||
WORD is_sysfile( fcb )
|
||||
BYTE fcb[];
|
||||
{
|
||||
if( fcb[10] & ~0x7f )
|
||||
return( YES );
|
||||
return( NO );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user