fwrite
From cppreference.com
Defined in header <stdio.h>
|
||
int fwrite( const void *buffer, size_t size, size_t count, FILE *stream );
|
||
Writes count of objects in the given array buffer to the output stream stream. Objects are not interpreted in any way.
[edit] Parameters
buffer | - | pointer to the first object object in the array to be written |
size | - | size of each object |
count | - | the number of the objects to be written |
[edit] Return value
number of objects written successfully
[edit] See also
prints formatted output to stdout, a file stream or a buffer (function) |
|
writes a character string to a file stream (function) |
|
reads from a file (function) |