| www.delorie.com/djgpp/doc/libc-2.01/libc_291.html | search |
#include <stdio.h> size_t fread(void *buffer, size_t size, size_t number, FILE *file);
This function reads size*number characters from file to buffer.
The number of items of size size read, or -1 on error.
int foo[10]; fread(foo, sizeof(int), 10, stdin);
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |