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

Function strrchrd

Libraries/unrar/unicode.hpp:52–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50inline size_t strlend(const char *s) {return (uint)(gdbcs.DBCSMode ? gdbcs.strlend(s):strlen(s));}
51inline char* strchrd(const char *s, int c) {return (char *)(gdbcs.DBCSMode ? gdbcs.strchrd(s,c):strchr(s,c));}
52inline char* strrchrd(const char *s, int c) {return (char *)(gdbcs.DBCSMode ? gdbcs.strrchrd(s,c):strrchr(s,c));}
53inline void copychrd(char *dest,const char *src) {if (gdbcs.DBCSMode) gdbcs.copychrd(dest,src); else *dest=*src;}
54inline bool IsDBCSMode() {return(gdbcs.DBCSMode);}
55inline void InitDBCS() {gdbcs.Init();}

Callers

nothing calls this directly

Calls 1

strrchrdMethod · 0.80

Tested by

no test coverage detected