RTEMS 7.0-rc1
Loading...
Searching...
No Matches
Data Structures | Functions
FATFS

Data Structures

struct  rtems_fatfs_mount_options
 RTEMS FatFS filesystem mount options. More...
 

Functions

int rtems_fatfs_initialize (rtems_filesystem_mount_table_entry_t *mt_entry, const void *data)
 Initialize FatFS filesystem.
 

Detailed Description

Function Documentation

◆ rtems_fatfs_initialize()

int rtems_fatfs_initialize ( rtems_filesystem_mount_table_entry_t mt_entry,
const void *  data 
)

Initialize FatFS filesystem.

This function is the mount handler for the FatFS filesystem. It is called by the mount() system call when the filesystem type is RTEMS_FILESYSTEM_TYPE_FATFS.

Parameters
[in]mt_entryThe mount table entry.
[in]dataMount options (rtems_fatfs_mount_options or NULL).
Returns
0 on success, -1 on error with errno set.