SmFsOpenFile
Synopsis
int SmFsOpenFile( SMFS_HANDLE * fh,,
const char * name,);
Description
Finds the file and creates an entry for it in the file descriptor table. The table index returned in ‘fh’ and is used by other file functions.
Parameters
Parameter |
Description |
---|---|
fh
|
Pointer to the file handle |
name
|
Pointer to the absolute path |
Return Value
Returns 0 or an error condition.