MCPcopy Create free account
hub / github.com/F-Stack/f-stack / copystr

Function copystr

lib/ff_glue.c:617–627  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

615
616#if 0
617int
618copystr(const void *kfaddr, void *kdaddr, size_t len, size_t *done)
619{
620 size_t bytes;
621
622 bytes = strlcpy(kdaddr, kfaddr, len);
623 if (done != NULL)
624 *done = bytes;
625
626 return (0);
627}
628#endif
629
630int

Callers 7

get_memsegFunction · 0.85
alloc_memsegFunction · 0.85
exec_args_add_fnameFunction · 0.85
exec_args_add_strFunction · 0.85
exec_shell_imgactFunction · 0.85
namei_getpathFunction · 0.85
kern_alternate_pathFunction · 0.85

Calls 1

strlcpyFunction · 0.50

Tested by

no test coverage detected