Virtual file system management.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Functions | |
int | fs_open (char *name, struct fs_file *file) |
Open the specified filename in the virtual file system. More... | |
int fs_open | ( | char * | name, |
struct fs_file * | file | ||
) |
Open the specified filename in the virtual file system.
name | Filename to open. |
file | Pointer to an allocated struct fs_file, to be filled by fs_open if the specified filename is found. |
References fs_file::data, fsdata_file_noconst::data, FS_ROOT, fs_file::len, fsdata_file_noconst::len, fsdata_file_noconst::name, fsdata_file_noconst::next, and NULL.
Referenced by http_recv().