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

Function findfirst

sys/windows/windsys.c:146–155  ·  view source on GitHub ↗

* Functions to get filenames using wildcards */

Source from the content-addressed store, hash-verified

144 * Functions to get filenames using wildcards
145 */
146int
147findfirst(char *path)
148{
149 if (ffhandle) {
150 FindClose(ffhandle);
151 ffhandle = (HANDLE) 0;
152 }
153 ffhandle = FindFirstFile(path, &ffd);
154 return (ffhandle == INVALID_HANDLE_VALUE) ? 0 : 1;
155}
156
157int
158findnext(void)

Callers 2

filesizeFunction · 0.70
get_saved_gamesFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected