#include <phatdir.h>
Once created, this structure will never change if it points to another directory. Except if the entry is removed.
Data Fields | |
| u_char | dent_name [11] |
| File name, padded with blanks. | |
| u_char | dent_attr |
| File attributes. | |
| u_char | dent_rsvdnt |
| Reserved byte, possibly used by NT. | |
| u_char | dent_ctsecs |
| Hundredth of seconds of file creation time. | |
| u_short | dent_ctime |
| File creation time. | |
| u_short | dent_cdate |
| File creation date. | |
| u_short | dent_adate |
| Last file access date. | |
| u_short | dent_clusthi |
| High bytes of first cluster of this file. | |
| u_short | dent_mtime |
| Last file modification time. | |
| u_short | dent_mdate |
| Last file modification date. | |
| u_short | dent_clust |
| First cluster used. | |
| u_long | dent_fsize |
| Size of the file in bytes. | |
|
|
File attributes. See PHAT_FATTR_ flags. |
|
|
High bytes of first cluster of this file. If used with the double dot entry, dent_clusthi and dent_clust must be zero if the entry points to the root directory. The same is true when pointing to a normal file with zero length. |
|
|
First cluster used. This is zero for empty files. |
|
|
Size of the file in bytes. For directories, this is always zero. |