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

Function max_filename

sys/windows/windsys.c:193–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191
192#if 0
193static int
194max_filename(void)
195{
196 DWORD maxflen;
197 int status = 0;
198
199 status = GetVolumeInformation((LPTSTR) 0, (LPTSTR) 0, 0, (LPDWORD) 0,
200 &maxflen, (LPDWORD) 0, (LPTSTR) 0, 0);
201 if (status)
202 return maxflen;
203 else
204 return 0;
205}
206#endif
207
208int

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected