MCPcopy Create free account
hub / github.com/NetHack/NetHack / filesize

Function filesize

sys/windows/windsys.c:169–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169long
170filesize(char *file)
171{
172 if (findfirst(file)) {
173 return ((long) ffd.nFileSizeLow);
174 } else
175 return -1L;
176}
177
178/*
179 * Chdrive() changes the default drive.

Callers

nothing calls this directly

Calls 1

findfirstFunction · 0.70

Tested by

no test coverage detected