MCPcopy Create free account
hub / github.com/aldostools/webMAN-MOD / _concat

Function _concat

include/init/string.h:50–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50static char *_concat(t_string *dest, const char *src)
51{
52 if(!dest) return NULL;
53
54 char *str = dest->str + dest->size;
55
56 while (*str) str++; dest->size = str - dest->str; // find last null byte
57
58 if(src) {while ((*str++ = *src++)) ; dest->size = str - 1 - dest->str;} // append src
59
60 return str;
61}
62
63static void _concat2(t_string *dest, const char *src1, const char *src2)
64{

Callers 15

folder_listingFunction · 0.85
prepare_headerFunction · 0.85
_concat2Function · 0.85
_concat3Function · 0.85
concatFunction · 0.85
prepare_htmlFunction · 0.85
www_client.hFile · 0.85
www_page.hFile · 0.85
delete.hFile · 0.85
refresh.hFile · 0.85
videorec.hFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected