INtime SDK Help
fwrite

Writes a specified number of characters to a stream.

#include <stdio.h>

size_t fwrite (const void *buffer, size_t size, size_t count, FILE *stream);

Parameters

buffer
Pointer to data to be written.
size
Item size in bytes.
count
Maximum number of items to be written.
stream
Pointer to FILE structure.

Remarks

The file pointer associated with stream(if there is one) is incremented by the number of bytes actually written.

If you open stream in text mode, each <CR> is replaced with a <CR><LF> pair. The replacement has no effect on the return value.

Return Values

The number of full items actually written, which may be less than count if an error occurs.
Success.
The file-position indicator cannot be determined.
Failure.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/stdio.h stdio.h clib.lib

See Also

fread, write