aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ia64/strcat.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-05-04 18:26:59 +0000
committerUlrich Drepper <drepper@redhat.com>2004-05-04 18:26:59 +0000
commitce118ec6f3f1dbca08e03d25492f71974e125251 (patch)
treeb44e46e8ae7c80462f0edd5564ac46fb45e0ac55 /sysdeps/ia64/strcat.c
parent50c2b6d7d991ac885725dce5f2e76669e24915c6 (diff)
downloadglibc-ce118ec6f3f1dbca08e03d25492f71974e125251.tar
glibc-ce118ec6f3f1dbca08e03d25492f71974e125251.tar.gz
glibc-ce118ec6f3f1dbca08e03d25492f71974e125251.tar.bz2
glibc-ce118ec6f3f1dbca08e03d25492f71974e125251.zip
Update.
2004-04-22 David Mosberger <davidm@hpl.hp.com> * sysdeps/ia64/strcat.c: New file. * sysdeps/ia64/strcat.S: Delete.
Diffstat (limited to 'sysdeps/ia64/strcat.c')
-rw-r--r--sysdeps/ia64/strcat.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/sysdeps/ia64/strcat.c b/sysdeps/ia64/strcat.c
new file mode 100644
index 0000000000..8633aa07b9
--- /dev/null
+++ b/sysdeps/ia64/strcat.c
@@ -0,0 +1,27 @@
+/* Copyright (C) 2004 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
+#include <string.h>
+
+char *
+strcat (char *dest, const char *src)
+{
+ strcpy (dest + strlen (dest), src);
+ return dest;
+}
+libc_hidden_builtin_def (strcat)