Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ strncpy
Function
strncpy
system/lib/libc/musl/src/string/strncpy.c:3–7 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#include <string.h>
2
3
char *strncpy(char *restrict d, const char *restrict s, size_t n)
4
{
5
__stpncpy(d, s, n);
6
return d;
7
}
Callers
13
Getaddrinfo
Function · 0.85
main
Function · 0.85
main
Function · 0.85
main
Function · 0.85
main
Function · 0.85
emscripten_fetch_unpack_response_headers
Function · 0.85
_emscripten_get_progname
Function · 0.85
emscripten_set_thread_name
Function · 0.85
getaddrinfo
Function · 0.85
if_indextoname
Function · 0.85
if_nametoindex
Function · 0.85
createProfileDir
Function · 0.85
Calls
1
__stpncpy
Function · 0.85
Tested by
4
main
Function · 0.68
main
Function · 0.68
main
Function · 0.68
main
Function · 0.68