MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / ui_log_count_char

Function ui_log_count_char

tests/test_httpd.c:1098–1105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1096}
1097
1098static int ui_log_count_char(const char *s, char ch) {
1099 int n = 0;
1100 for (; *s; s++) {
1101 if (*s == ch)
1102 n++;
1103 }
1104 return n;
1105}
1106
1107static int ui_log_post(int port, const char *body, char *resp, size_t respsz) {
1108 size_t cap = strlen(body) + 512;

Callers 1

test_httpd.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected