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
memdisk: Force ld output format to 32-bits
[syslinux.git]
/
com32
/
lib
/
fwrite2.c
blob
4d706e1cc52b34062cbc58aff5db97097417293d
1
/*
2
* fwrite2.c
3
*
4
* The actual fwrite() function as a non-inline
5
*/
6
7
#define __NO_FREAD_FWRITE_INLINES
8
#include <stdio.h>
9
10
size_t
fwrite
(
const void
*
ptr
,
size_t
size
,
size_t
nmemb
,
FILE
*
f
)
11
{
12
return
_fwrite
(
ptr
,
size
*
nmemb
,
f
) /
size
;
13
}