MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / strcend

Function strcend

strings/strcend.c:28–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26#include "m_string.h"
27
28char *strcend(register const char *s, register pchar c)
29{
30 for (;;)
31 {
32 if (*s == (char) c) return (char*) s;
33 if (!*s++) return (char*) s-1;
34 }
35}
36

Callers 5

dynstr_append_os_quotedFunction · 0.85
init_tmpdirFunction · 0.85
my_handle_optionsFunction · 0.85
check_struct_optionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected