SmFsCreateFile
Allocates SRAM memory and a directory entry for a file. Once a file has been created, its size can not be changed.
Synopsis
int SmFsCreateFile(const char * name,
unsigned int len);
Parameter | Description |
---|---|
name
|
Pointer to the absolute path of the file to create |
len
|
Size of file to create (in bytes) |
Return Value
Returns 0 for success or an error condition.