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

Function findnext

outdated/sys/os2/os2.c:254–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254int
255findnext()
256{
257#ifdef OS2_32BITAPI
258 ULONG
259#else
260 USHORT
261#endif
262 res, SearchCount = 1;
263
264 res =
265#ifdef OS2_32BITAPI
266 DosFindNext(DirHandle, (PVOID) &ResultBuf, (ULONG) sizeof(ResultBuf),
267 &SearchCount);
268#else
269 DosFindNext(DirHandle, &ResultBuf, (USHORT) sizeof(ResultBuf),
270 &SearchCount);
271#endif
272 return (!res);
273}
274
275char *
276foundfile_buffer()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected