MCPcopy Create free account
hub / github.com/apache/nuttx / stpcpy

Function stpcpy

include/string.h:152–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152fortify_function(stpcpy) FAR char *stpcpy(FAR char *dest,
153 FAR const char *src)
154{
155 fortify_assert(strlen(src) + 1 <= fortify_size(dest, 0));
156 return __real_stpcpy(dest, src);
157}
158
159fortify_function(stpncpy) FAR char *stpncpy(FAR char *dest,
160 FAR const char *src,

Callers

nothing calls this directly

Calls 1

strlenFunction · 0.70

Tested by

no test coverage detected