core: do aligned transfers in bcopy32
[syslinux.git] / com32 / lib / fread2.c
blob9e5ac81fc2caf7e2abe687f28ac2e46f5b319a9c
1 /*
2 * fread2.c
4 * The actual fread() function as a non-inline
5 */
7 #define __NO_FREAD_FWRITE_INLINES
8 #include <stdio.h>
10 size_t fread(void *ptr, size_t size, size_t nmemb, FILE *f)
12 return _fread(ptr, size*nmemb, f)/size;