SmFsWriteFile

Write data to file.

Synopsis

int SmFsWriteFile( SMFS_HANDLE fh,
unsigned int offset,
char *buf,unsigned int bc);
Parameter Description
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.