Package: manpages Version: 1.11-3 NAME fread, fwrite - binary stream input/output SYNOPSIS #include <stdio.h> int fread( void *ptr, size_t size, size_t nmemb, FILE *stream); int fwrite( void *ptr, size_t size, size_t nmemb, FILE *stream); However, fread and fwrite actually return a size_t. This is relevant because size_t is unsigned, so that if you think it returns an int you may get a spurious warning about a signed/unsigned mismatch. Ian.