mescc: Tinycc support: strcat.
* mlibc/libc-mes+tcc.c (strcat): Implement.
This commit is contained in:
parent
4fbd16aaac
commit
cb99e3ca6e
|
@ -262,8 +262,10 @@ sscanf (char const *str, const char *format, ...)
|
|||
char *
|
||||
strcat (char *dest, char const *src)
|
||||
{
|
||||
eputs ("strcat stub\n");
|
||||
return 0;
|
||||
char *p = strchr (dest, '\0');
|
||||
while (*src++) *p++ = *src++;
|
||||
*p = 0;
|
||||
return dest;
|
||||
}
|
||||
|
||||
char *
|
||||
|
|
Loading…
Reference in a new issue