Adding upstream version 3.35.
[syslinux-debian/hramrach.git] / com32 / lib / fwrite2.c
blob82ec832be46d44cb30bef7d8e128df395f051c69
1 /*
2 * fwrite2.c
4 * The actual fwrite() function as a non-inline
5 */
7 #define __NO_FREAD_FWRITE_INLINES
8 #include <stdio.h>
10 size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE *f)
12 return _fwrite(ptr, size*nmemb, f)/size;