Last change
on this file since 6d3de83 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 8 years ago |
Imported original source code.
|
-
Property mode
set to
100755
|
File size:
704 bytes
|
Rev | Line | |
---|
[3ae31e9] | 1 | /*
|
---|
| 2 | =============================================================================
|
---|
| 3 | dirent.h -- GEMDOS directory entry structure
|
---|
| 4 | Version 1 -- 1988-06-27 -- D.N. Lynx Crowe
|
---|
| 5 | =============================================================================
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | struct Dirent {
|
---|
| 9 |
|
---|
| 10 | char name[8];
|
---|
| 11 | char ext[3];
|
---|
| 12 | char atrib;
|
---|
| 13 | char res[10];
|
---|
| 14 | char crtime[2];
|
---|
| 15 | char crdate[2];
|
---|
| 16 | char clus[2];
|
---|
| 17 | char fsize[4];
|
---|
| 18 | };
|
---|
| 19 |
|
---|
| 20 | /* attribute byte flags */
|
---|
| 21 |
|
---|
| 22 | #define F_RDONLY 0x01 /* Read-only file */
|
---|
| 23 | #define F_HIDDEN 0x02 /* Hidden file */
|
---|
| 24 | #define F_SYSTEM 0x04 /* System file */
|
---|
| 25 | #define F_VOLUME 0x08 /* Volume label */
|
---|
| 26 | #define F_SUBDIR 0x10 /* Sub-directory */
|
---|
| 27 | #define F_ARCHIV 0x20 /* Archive flag */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.