source:
bootcd/isolinux/syslinux-6.03/com32/lib/fread2.c
@
dd1be7c
Last change on this file since dd1be7c was e16e8f2, checked in by , 3 years ago | |
---|---|
|
|
File size: 237 bytes |
Rev | Line | |
---|---|---|
[e16e8f2] | 1 | /* |
2 | * fread2.c | |
3 | * | |
4 | * The actual fread() function as a non-inline | |
5 | */ | |
6 | ||
7 | #define __NO_FREAD_FWRITE_INLINES | |
8 | #include <stdio.h> | |
9 | ||
10 | size_t fread(void *ptr, size_t size, size_t nmemb, FILE * f) | |
11 | { | |
12 | return _fread(ptr, size * nmemb, f) / size; | |
13 | } |
Note: See TracBrowser
for help on using the repository browser.