Difference between revisions of "cpp/io/c/fread"
From cppreference.com
m (1 revision: import content) |
m (Text replace - "{{params}}" to "===Parameters===") |
||
Line 8: | Line 8: | ||
<!-- ======== --> | <!-- ======== --> | ||
− | + | ===Parameters=== | |
{{param list begin}} | {{param list begin}} | ||
{{param list item | buffer | pointer to the first object object in the array to be read}} | {{param list item | buffer | pointer to the first object object in the array to be read}} |
Revision as of 14:57, 2 August 2011
Defined in header <cstdio>
|
||
size_t fread( const void *buffer, size_t size, size_t count, FILE *stream ); |
||
Reads specified number of objects in the array buffer
from the given input stream stream
. Objects are not interpreted in any way.
Parameters
buffer | - | pointer to the first object object in the array to be read |
size | - | size of each object in bytes |
count | - | the number of the objects to be read |
number of objects read successfully