MCPcopy Index your code
hub / github.com/NetHack/NetHack / fread

Function fread

outdated/sys/wince/celib.c:868–875  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

866}
867
868size_t __cdecl fread(void *p, size_t size, size_t count, FILE *f)
869{
870 int read_bytes;
871 if (!f || !p || size == 0 || count == 0)
872 return 0;
873 read_bytes = read((int) f, p, size * count);
874 return read_bytes > 0 ? (read_bytes / size) : 0;
875}
876
877size_t __cdecl fwrite(const void *p, size_t size, size_t count, FILE *f)
878{

Callers 15

read_tilesFunction · 0.85
read_bmp_tilesFunction · 0.85
read_headerFunction · 0.85
read_info_headerFunction · 0.85
read_paletteFunction · 0.85
read_gif_tilesFunction · 0.85
read_data_blockFunction · 0.85
init_tilesFunction · 0.85
sys_random_seedFunction · 0.85
load_fontFunction · 0.85
ReadTileFileHeaderFunction · 0.85
OpenTileFileFunction · 0.85

Calls 1

readFunction · 0.85

Tested by

no test coverage detected