SmFsWriteFile

Synopsis

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

Description

Write data to file.

Parameters

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.