source: bootcd/isolinux/syslinux-6.03/com32/lib/fwrite2.c

Last change on this file was e16e8f2, checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago

bootstuff

  • Property mode set to 100644
File size: 247 bytes
Line 
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
10size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE * f)
11{
12    return _fwrite(ptr, size * nmemb, f) / size;
13}
Note: See TracBrowser for help on using the repository browser.