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.

