#include <phatfs.h>
Collaboration diagram for _PHATFILE:

Data Fields | |
| u_long | f_pos |
| Current position into the file. | |
| u_long | f_clust |
| Current cluster. | |
| u_long | f_clust_pos |
| Sector within the current cluster. | |
| u_long | f_sect_pos |
| Position within the sector. | |
| u_long | f_clust_prv |
| Previous cluster used,. | |
| u_long | f_mode |
| File open mode flags. | |
| PHATDIRENT | f_dirent |
| Directory entry of this file. | |
| u_long | f_de_sect |
| Sector of the directory entry. | |
| u_long | f_de_offs |
| Offset into the sector containing the directory entry. | |
| u_int | f_de_dirty |
| Directory entry change marker. | |
| u_short | f_pde_clust |
| First cluster of the parent directory, low word. | |
| u_short | f_pde_clusthi |
| First cluster of the parent directory, high word. | |
|
|
Sector of the directory entry. For the root directory this value is zero, because the root doesn't have any entry in another directory. |
|
|
First cluster of the parent directory, low word. Our directory entry is located in this cluster. |