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