blob: b9a57abfad08dc545f703b16f3cb2241727dccf9 [file] [log] [blame]
Roman Zippeld6359fd2006-10-06 00:43:55 -07001/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file COPYING in the main directory of this archive
4 * for more details.
5 */
Roman Zippel072dffd2005-09-03 15:57:10 -07006
Roman Zippeld6359fd2006-10-06 00:43:55 -07007#define __IN_STRING_C
8
Roman Zippel072dffd2005-09-03 15:57:10 -07009#include <linux/module.h>
Roman Zippeld6359fd2006-10-06 00:43:55 -070010#include <linux/string.h>
11
12char *strcpy(char *dest, const char *src)
13{
14 return __kernel_strcpy(dest, src);
15}
16EXPORT_SYMBOL(strcpy);
Roman Zippel072dffd2005-09-03 15:57:10 -070017
Al Viro337e3c42008-05-21 06:32:11 +010018char *strcat(char *dest, const char *src)
19{
20 return __kernel_strcpy(dest + __kernel_strlen(dest), src);
21}
22EXPORT_SYMBOL(strcat);