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

Function LLVM_LIBC_FUNCTION

system/lib/llvm-libc/src/string/memset.cpp:17–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15namespace LIBC_NAMESPACE_DECL {
16
17LLVM_LIBC_FUNCTION(void *, memset, (void *dst, int value, size_t count)) {
18 if (count)
19 LIBC_CRASH_ON_NULLPTR(dst);
20
21 inline_memset(dst, static_cast<uint8_t>(value), count);
22 return dst;
23}
24
25} // namespace LIBC_NAMESPACE_DECL

Callers

nothing calls this directly

Calls 1

inline_memsetFunction · 0.85

Tested by

no test coverage detected