MCPcopy Create free account
hub / github.com/bobranten/Ext4Fsd / Ext2StrLastW

Function Ext2StrLastW

Ext2Mgr/Ext2Pipe.cpp:507–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

505}
506
507WCHAR *Ext2StrLastW(WCHAR *t, WCHAR *s)
508{
509 int lt = (int)wcslen(t), ls = (int)wcslen(s), i;
510
511 for (i = lt - ls; i >= 0; i--) {
512 if (0 == _wcsnicmp(&t[i], s, ls))
513 return &t[i];
514 }
515
516 return NULL;
517}
518
519WCHAR *Ext2BuildCMDW()
520{

Callers 1

Ext2BuildCMDWFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected