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

Function filesize

outdated/sys/os2/os2.c:281–289  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

279}
280
281long
282filesize(file)
283char *file;
284{
285 if (findfirst(file)) {
286 return (*(long *) (ResultBuf.cbFileAlloc));
287 } else
288 return -1L;
289}
290
291/*
292 * Chdrive() changes the default drive.

Callers

nothing calls this directly

Calls 1

findfirstFunction · 0.70

Tested by

no test coverage detected