Update contrib.
2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
16 * <<strcat>>---concatenate strings
21 * char *strcat(char *<[dst]>, const char *<[src]>);
24 * char *strcat(<[dst]>, <[src]>)
27 * <<strcat>> appends a copy of the string pointed to by <[src]>
28 * (including the terminating null character) to the end of the
29 * string pointed to by <[dst]>. The initial character of
30 * <[src]> overwrites the null character at the end of <[dst]>.
32 * This function returns the initial value of <[dst]>
34 * <<strcat>> is ANSI C.
35 * <<strcat>> requires no supporting OS subroutines.
51 Appends s2 string to s1 string.
52 The terminating null character in s1 is overwritten by the first character of s2.
53 The resulting string includes a null-character at end.
55 @param s1 Pointer to a null-terminated string with enough space allocated to
56 contain both s2 and s1.
57 @param s2 Null-terminated string to append.
59 EXPORT_C char * strcat (char *s1, const char *s2)
66 while ((*s1++ = *s2++)!=0)
72 Append a copy of the wide-character string pointed to by s2
74 @param s1 wide-character
75 @param s2 wide-character
77 EXPORT_C wchar_t * wcscat (wchar_t *s1, const wchar_t *s2)
84 while ((*s1++ = *s2++)!=L'\0')