MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / wcsnicompc

Function wcsnicompc

Libraries/unrar/strfn.cpp:274–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272
273
274int wcsnicompc(const wchar *s1,const wchar *s2,size_t n)
275{
276#if defined(_UNIX)
277 return wcsncmp(s1,s2,n);
278#else
279 return wcsnicomp(s1,s2,n);
280#endif
281}
282
283
284// Safe copy: copies maxlen-1 max and for maxlen>0 returns zero terminated dest.

Callers 1

ExtrPrepareNameMethod · 0.85

Calls 1

wcsnicompFunction · 0.85

Tested by

no test coverage detected