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

Function strcat

libs/libc/string/lib_strcat.c:40–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38#undef strcat
39no_builtin("strcat")
40FAR char *strcat(FAR char *dest, FAR const char *src)
41{
42 FAR char *ret = dest;
43
44 dest += strlen(dest);
45 while (*src != '\0')
46 {
47 *dest++ = *src++;
48 }
49
50 *dest = '\0';
51
52 return ret;
53}
54#endif

Callers 1

gcov_dump_foreachFunction · 0.50

Calls 1

strlenFunction · 0.70

Tested by

no test coverage detected