Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chen3feng/toft
/ strchrnul
Function
strchrnul
base/string/format/vprint.cpp:21–28 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
19
20
#ifndef _GNU_SOURCE
21
static const char* strchrnul(const char* s, int ch)
22
{
23
const char* p = s;
24
while (*p && *p != ch) {
25
++p;
26
}
27
return p;
28
}
29
#endif
30
31
static int DoFillSpeciationFromArg(int* value,
Callers
1
VFormatPrint
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected