mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-18 03:59:15 +00:00
Add strcat function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1847 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9dfdf0f1e6
commit
4ee8dd7f2b
@ -26,6 +26,11 @@ char *strcpy(char *s1, const char *s2) {
|
||||
return s1;
|
||||
}
|
||||
|
||||
char *strcat(char *s1, const char *s2) {
|
||||
strcpy(s1+strlen(s1), s2);
|
||||
return s1;
|
||||
}
|
||||
|
||||
|
||||
/* Compare S1 and S2, returning less than, equal to or
|
||||
greater than zero if S1 is lexicographically less than,
|
||||
|
Loading…
x
Reference in New Issue
Block a user