DIRENTRY

Structure of a directory entry

struct DIRENTRY {
        char name[20];
        long attr;
        long size;
        struct DIRENTRY *next
        long head;
        char system[8];
}

Members

name Filename
attr Attribute (depends on file system)
size File size (bytes)
next Pointer to next file entry (for user)
head Starting sector number
system System reserved

Explanation

DIRENTRY stores information relating to files contained in the file system.

See Also

firstfile(), nextfile()