chiark / gitweb /
[PATCH] added vsyslog support to klibc.
[elogind.git] / klibc / klibc / fwrite2.c
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 }