Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
string.c
Go to the documentation of this file.
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 
12 char *strcpy(char *dest, const char *src)
13 {
14  return __kernel_strcpy(dest, src);
15 }
17 
18 char *strcat(char *dest, const char *src)
19 {
20  return __kernel_strcpy(dest + __kernel_strlen(dest), src);
21 }