2 * Copyright (C) 2002 Manuel Novoa III
3 * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
5 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
11 # define Wstrncat wcsncat
13 libc_hidden_proto(strncat)
14 # define Wstrncat strncat
17 Wchar *Wstrncat(Wchar * __restrict s1, register const Wchar * __restrict s2,
20 register Wchar *s = s1;
25 while (n-- && ((*s = *s2++) != 0)) ++s;
27 while (n && ((*s = *s2++) != 0)) {
38 libc_hidden_def(strncat)