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/fwrite2.c

14 lines
240 B
C

/*
* fwrite2.c
*
* The actual fwrite() function as a non-inline
*/
#define __NO_FREAD_FWRITE_INLINES
#include <stdio.h>
size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE *f)
{
return _fwrite(ptr, size*nmemb, f)/size;
}