#include <stdio.h>
U32 fwrite (
const void* buffer, /* data to write to file */
U32 size, /* size of each item */
U32 count, /* number of items to write */
FILE* stream); /* file stream to write to */
Description
The function fwrite writes items from a buffer to a data
stream. The parameter buffer is a void pointer
defining the items to write. The parameter size
defines the size of the item to write. The parameter count defines the number of times to write the item. The
parameter stream is a file pointer defining the
data stream to write to.
The function is included in the library RL-FlashFS. The prototype
is defined in the file stdio.h.
Return Value
number of items written successfully. This number can be
smaller than count if an error occured.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.