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

Function filesize

outdated/sys/atari/tos.c:210–218  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

208}
209
210long
211filesize(file)
212char *file;
213{
214 if (findfirst(file))
215 return (*(long *) ((char *) Fgetdta() + 26));
216 else
217 return -1L;
218}
219
220/*
221 * Chdrive() changes the default drive.

Callers

nothing calls this directly

Calls 1

findfirstFunction · 0.70

Tested by

no test coverage detected