Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
bwh
/
klibc
/
201dabf78546ca712d3541670a5d898dc199854e
/
.
/
usr
/
klibc
/
fread2.c
blob: c9c6ed87c4dd4bb37f9377589de38f47efedc6ef [
file
] [
log
] [
blame
]
/*
* fread2.c
*
* The actual fread() function as a non-inline
*/
#define
__NO_FREAD_FWRITE_INLINES
#include
<stdio.h>
size_t
fread
(
void
*
ptr
,
size_t
size
,
size_t
nmemb
,
FILE
*
f
)
{
return
_fread
(
ptr
,
size
*
nmemb
,
f
)
/
size
;
}