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

Method strrchrd

Libraries/unrar/unicode.cpp:642–655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

640
641
642char* SupportDBCS::strrchrd(const char *s, int c)
643{
644 const char *found=NULL;
645 while (*s!=0)
646 if (IsLeadByte[(byte)*s])
647 s+=2;
648 else
649 {
650 if (*s==c)
651 found=s;
652 s++;
653 }
654 return((char *)found);
655}
656#endif
657
658

Callers 1

strrchrdFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected