Max OS 0.3
Loading...
Searching...
No Matches
MaxOS::filesystem::format::DirectoryEntry Struct Reference

Stores information about a file or directory. More...

#include <fat32.h>

Public Attributes

uint8_t name [8]
 File name.
 
uint8_t extension [3]
 File extension.
 
uint8_t attributes
 File attributes (see DirectoryEntryAttributes)
 
uint8_t reserved
 Reserved for Windows NT.
 
uint8_t creation_time_tenth
 Creation time in tenths of a second (or 100ths of a second) (0-199 on Windows, 0/100 on Linux)
 
uint16_t creation_time
 Creation time (HH:MM:SS) (multiply seconds by 2)
 
uint16_t creation_date
 Creation date (YYYY-MM-DD)
 
uint16_t last_access_date
 Last access date (YYYY-MM-DD)
 
uint16_t first_cluster_high
 High word of this entry's first cluster number (usually 0 for FAT12/FAT16)
 
uint16_t last_write_time
 Last write time (HH:MM:SS) (multiply seconds by 2)
 
uint16_t last_write_date
 Last write date (YYYY-MM-DD)
 
uint16_t first_cluster_low
 Low word of this entry's first cluster number.
 
uint32_t size
 File size in bytes.
 

Detailed Description

Stores information about a file or directory.

Definition at line 88 of file fat32.h.

Member Data Documentation

◆ attributes

uint8_t MaxOS::filesystem::format::DirectoryEntry::attributes

File attributes (see DirectoryEntryAttributes)

Definition at line 92 of file fat32.h.

◆ creation_date

uint16_t MaxOS::filesystem::format::DirectoryEntry::creation_date

Creation date (YYYY-MM-DD)

Definition at line 97 of file fat32.h.

◆ creation_time

uint16_t MaxOS::filesystem::format::DirectoryEntry::creation_time

Creation time (HH:MM:SS) (multiply seconds by 2)

Definition at line 96 of file fat32.h.

◆ creation_time_tenth

uint8_t MaxOS::filesystem::format::DirectoryEntry::creation_time_tenth

Creation time in tenths of a second (or 100ths of a second) (0-199 on Windows, 0/100 on Linux)

Definition at line 95 of file fat32.h.

◆ extension

uint8_t MaxOS::filesystem::format::DirectoryEntry::extension[3]

File extension.

Definition at line 91 of file fat32.h.

◆ first_cluster_high

uint16_t MaxOS::filesystem::format::DirectoryEntry::first_cluster_high

High word of this entry's first cluster number (usually 0 for FAT12/FAT16)

Definition at line 100 of file fat32.h.

◆ first_cluster_low

uint16_t MaxOS::filesystem::format::DirectoryEntry::first_cluster_low

Low word of this entry's first cluster number.

Definition at line 105 of file fat32.h.

◆ last_access_date

uint16_t MaxOS::filesystem::format::DirectoryEntry::last_access_date

Last access date (YYYY-MM-DD)

Definition at line 98 of file fat32.h.

◆ last_write_date

uint16_t MaxOS::filesystem::format::DirectoryEntry::last_write_date

Last write date (YYYY-MM-DD)

Definition at line 103 of file fat32.h.

◆ last_write_time

uint16_t MaxOS::filesystem::format::DirectoryEntry::last_write_time

Last write time (HH:MM:SS) (multiply seconds by 2)

Definition at line 102 of file fat32.h.

◆ name

uint8_t MaxOS::filesystem::format::DirectoryEntry::name[8]

File name.

Definition at line 90 of file fat32.h.

◆ reserved

uint8_t MaxOS::filesystem::format::DirectoryEntry::reserved

Reserved for Windows NT.

Definition at line 93 of file fat32.h.

◆ size

uint32_t MaxOS::filesystem::format::DirectoryEntry::size

File size in bytes.

Definition at line 107 of file fat32.h.


The documentation for this struct was generated from the following file: