SmFsWriteFile

Synopsis
int SmFsWriteFile(SMFS_HANDLE fh,
   		   unsigned int offset,
   		   char *buf,
    		   unsigned int bc);
Description

Writes data to file.

Parameters
fh Open file handle.
offset Zero based starting point.
buf Data to be written.
bc The number of bytes to write.
Return Value

Returns 0 or an error condition.