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

Function fwrite

outdated/sys/wince/celib.c:877–884  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

875}
876
877size_t __cdecl fwrite(const void *p, size_t size, size_t count, FILE *f)
878{
879 int write_bytes;
880 if (!f || !p || size == 0 || count == 0)
881 return 0;
882 write_bytes = write((int) f, p, size * count);
883 return write_bytes > 0 ? write_bytes / size : 0;
884}
885
886int __cdecl fflush(FILE *f)
887{

Callers 14

mainFunction · 0.85
onWMCommandFunction · 0.85
mainFunction · 0.85
port_insert_pastebufFunction · 0.85
write_tibheaderFunction · 0.85
write_tibtileFunction · 0.85
write_chunkFunction · 0.85
mainFunction · 0.85
wr32Function · 0.85
wr_chunkFunction · 0.85
iff_writeFunction · 0.85
docompress_fileFunction · 0.85

Calls 1

writeFunction · 0.85

Tested by

no test coverage detected