MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / myStrncpy

Function myStrncpy

src/dolphin/src/dvd/dvdfs.c:242–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242inline u32 myStrncpy(char* dest, char* src, u32 maxlen)
243{
244 u32 i = maxlen;
245
246 while ((i > 0) && (*src != 0))
247 {
248 *dest++ = *src++;
249 i--;
250 }
251
252 return (maxlen - i);
253}
254
255static u32 entryToPath(u32 entry, char* path, u32 maxlen)
256{

Callers 1

entryToPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected