SmFsCreateFile

Synopsis

int SmFsCreateFile(const char * name,
unsigned int len);  

Description

Allocates SRAM memory and a directory entry for a file. Once a file has been created, its size can not be changed.

Parameters

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.