1 /* 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 */ 6 7 #define __IN_STRING_C 8 9 #include <linux/module.h> 10 #include <linux/string.h> 11 strcpy(char * dest,const char * src)12char *strcpy(char *dest, const char *src) 13 { 14 return __kernel_strcpy(dest, src); 15 } 16 EXPORT_SYMBOL(strcpy); 17 strcat(char * dest,const char * src)18char *strcat(char *dest, const char *src) 19 { 20 return __kernel_strcpy(dest + __kernel_strlen(dest), src); 21 } 22 EXPORT_SYMBOL(strcat); 23