repo.or.cz
/
syslinux.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
core: do aligned transfers in bcopy32
[syslinux.git]
/
com32
/
lib
/
fread2.c
blob
9e5ac81fc2caf7e2abe687f28ac2e46f5b319a9c
1
/*
2
* fread2.c
3
*
4
* The actual fread() function as a non-inline
5
*/
6
7
#define __NO_FREAD_FWRITE_INLINES
8
#include <stdio.h>
9
10
size_t
fread
(
void
*
ptr
,
size_t
size
,
size_t
nmemb
,
FILE
*
f
)
11
{
12
return
_fread
(
ptr
,
size
*
nmemb
,
f
)/
size
;
13
}