delorie.com/djgpp/doc/libc/libc_349.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#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 less if there was an error.
ANSI/ISO C | C89; C99 |
POSIX | 1003.2-1992; 1003.1-2001 |
int foo[10]; fread(foo, sizeof(int), 10, stdin); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |