repo.or.cz
/
syslinux-debian
/
hramrach.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Adding upstream version 6.03~pre1+dfsg.
[syslinux-debian/hramrach.git]
/
com32
/
lib
/
fread2.c
blob
00620401f2c6ca0a5b8ac42cec3130850150b0de
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
}