1.2.7.4.57 SYS_FS_FSTAT Struct

C

typedef struct
{
    /* File size */
    uint32_t fsize;

    /* Last modified date */
    uint16_t fdate;

    /* Last modified time */
    uint16_t ftime;

    /* Attribute */
    uint8_t fattrib;

    /* Alternate/Short file name (8.3 format) */
    char altname[13];

    /* Primary/Long file name */
    char fname[SYS_FS_FILE_NAME_LEN + 1];

    /* Retaining below members for portability.
    * For FAT-FS lfname[0] will always be '\0'.
    * Use fname instead

    /* Pointer to the LFN buffer */
    char *lfname;

    /* Size of LFN buffer */
    uint32_t lfsize;
} SYS_FS_FSTAT;

Summary

File System status

Description

This structure holds the various status of a file. The SYS_FS_FileStat () populates the contents of this structure.

Remarks

None.