Embedded TCP/IP stack: fnet_fs_mount

FNET

fnet_return_t fnet_fs_mount ( fnet_char_t fs_name,
const fnet_char_t mount_name,
const void *  arg 
)

Mounts a file system.

Parameters
fs_nameFile System name associated with the mount point (null-terminated string).
For the FNET ROM FS this parameter should be set to the FNET_FS_ROM_NAME value.
mount_nameMount point name (null-terminated string).
The name size must not exceed the FNET_CFG_FS_MOUNT_NAME_MAX value.
argPointer to the FS-specific mount argument.
For the FNET ROM FS this parameter is the pointer to the fnet_fs_rom_image structure.
Returns
This function returns:
See also
fnet_fs_unmount()

This function instructs FNET File System interface that the file system named by the fs_name is associated with a mount point named by the mount_name and is ready to use.


© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net