MCPcopy 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
21static 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
31static int DoFillSpeciationFromArg(int* value,

Callers 1

VFormatPrintFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected