Share this page

# fwrite

Example: fwrite | Input-Output Functions

Write unformatted data from a buffer to a stream.

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

buffer | The buffer containing the data.
size | The size of the buffer.
count | The number of bytes to store in the buffer.
file_pointer | A pointer to a file that will store the data.

## Return Values

If successful, the function returns the number of full items (not bytes) successfully written.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: