<< Previous | Next >>

fwrite (FS1)

int fwrite( File * f, char * buf, int len );

Description

Appends len bytes from the source buffer to the end of the file.

Parameters

f
A pointer to the file to write to.

buf
A pointer to the source buffer.

len
The number of bytes to write.

Return value

The number of bytes written: Success.
0: Failure.

Library

FILESYSTEM.LIB


Dynamic C Functions << Previous | Next >> rabbit.com