MCPcopy Create free account
hub / github.com/FlagBrew/PKSM / StringStrncpy

Function StringStrncpy

common/source/picoc/cstdlib/string.c:14–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14void StringStrncpy(
15 struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs)
16{
17 ReturnValue->Val->Pointer =
18 strncpy(Param[0]->Val->Pointer, Param[1]->Val->Pointer, Param[2]->Val->Integer);
19}
20
21void StringStrcmp(
22 struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected