blob: 4d61fa8a112c37f63a744b906ed57e52aff132bf [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{
Michal Mareke00c73e2013-04-10 16:45:21 +020020 return __kernel_strcpy(dest + strlen(dest), src);
Al Viro337e3c42008-05-21 06:32:11 +010021}
22EXPORT_SYMBOL(strcat);