This repository has been archived on 2023-08-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
RescueBootCD/extra/syslinux-3.09/com32/lib/fread2.c

14 lines
230 B
C

/*
* 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;
}