blob: 6172f9d7bda400e86c793a3bf05fcfb0e9695497 [file] [log] [blame]
/*
* fread2.c
*
* The actual fread() function as a non-inline
*/
#define __NO_FREAD_FWRITE_INLINES
#include <stdio.h>
size_t fread(void *ptr, size_t size, size_t nmemb, FILE *f)
{
return __fread(ptr, size*nmemb, f)/size;
}