MCPcopy Create free account
hub / github.com/MariaDB/server / strcend

Function strcend

strings/strcend.c:40–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38#include "strings_def.h"
39
40char *strcend(register const char *s, register pchar c)
41{
42 for (;;)
43 {
44 if (*s == (char) c) return (char*) s;
45 if (!*s++) return (char*) s-1;
46 }
47}
48

Callers 11

construct_promptFunction · 0.85
activate_tcp_portFunction · 0.85
wsrep_check_ipFunction · 0.85
my_getopt.cFile · 0.85
check_struct_optionFunction · 0.85
dynstr_append_os_quotedFunction · 0.85
init_tmpdirFunction · 0.85
handle_optionsFunction · 0.85
my_hash_get_stringFunction · 0.85
get_one_optionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected