blob: a8c14c98af6b0b3ecb5ed17ada9fd8bd4fcd027b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/*
* fwrite2.c
*
* The actual fwrite() function as a non-inline
*/
#define __NO_STDIO_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;
}
__ALIAS(size_t, fwrite_unlocked, (const void *, size_t, size_t, FILE *),
fwrite)
|