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

Function set_tilefile_path

win/share/tile2bmp.c:350–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348}
349
350static int
351set_tilefile_path(const char *fdir, const char *fname, char *buf, size_t sz)
352{
353 size_t consuming = 0;
354
355 *buf = '\0';
356 consuming = strlen(fdir) + strlen(fname) + 1;
357 if (consuming > sz)
358 return 0;
359 Strcpy(buf, fdir);
360 Strcat(buf, fname);
361 return 1;
362}
363
364static int
365examine_tilefiles(void)

Callers 2

mainFunction · 0.85
examine_tilefilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected