2006-10-06 15:43:55 +08:00
|
|
|
/*
|
|
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
|
|
* License. See the file COPYING in the main directory of this archive
|
|
|
|
* for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define __IN_STRING_C
|
2005-09-04 06:57:10 +08:00
|
|
|
|
|
|
|
#include <linux/module.h>
|
2006-10-06 15:43:55 +08:00
|
|
|
#include <linux/string.h>
|
|
|
|
|
|
|
|
char *strcpy(char *dest, const char *src)
|
|
|
|
{
|
|
|
|
return __kernel_strcpy(dest, src);
|
|
|
|
}
|
|
|
|
EXPORT_SYMBOL(strcpy);
|
2005-09-04 06:57:10 +08:00
|
|
|
|
2008-05-21 13:32:11 +08:00
|
|
|
char *strcat(char *dest, const char *src)
|
|
|
|
{
|
|
|
|
return __kernel_strcpy(dest + __kernel_strlen(dest), src);
|
|
|
|
}
|
|
|
|
EXPORT_SYMBOL(strcat);
|