Staging
v0.7.0
https://github.com/torvalds/linux
Raw File
Tip revision: 07961ac7c0ee8b546658717034fe692fd12eefa9 authored by Linus Torvalds on 31 March 2013, 22:12:43 UTC
Linux 3.9-rc5
Tip revision: 07961ac
string.c
/*
 * 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

#include <linux/module.h>
#include <linux/string.h>

char *strcpy(char *dest, const char *src)
{
	return __kernel_strcpy(dest, src);
}
EXPORT_SYMBOL(strcpy);

char *strcat(char *dest, const char *src)
{
	return __kernel_strcpy(dest + __kernel_strlen(dest), src);
}
EXPORT_SYMBOL(strcat);
back to top