MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / LLVM_LIBC_FUNCTION

Function LLVM_LIBC_FUNCTION

system/lib/llvm-libc/src/string/strchr.cpp:18–20  ·  view source on GitHub ↗

TODO: Look at performance benefits of comparing words.

Source from the content-addressed store, hash-verified

16
17// TODO: Look at performance benefits of comparing words.
18LLVM_LIBC_FUNCTION(char *, strchr, (const char *src, int c)) {
19 return internal::strchr_implementation(src, c);
20}
21
22} // namespace LIBC_NAMESPACE_DECL

Callers

nothing calls this directly

Calls 1

strchr_implementationFunction · 0.85

Tested by

no test coverage detected