swh:1:snp:c2847dfd741eae21606027cf29250d1ebcd63fb4
Raw File
Tip revision: e4aa937ec75df0eea0bee03bffa3303ad36c986b authored by Linus Torvalds on 26 May 2013, 23:00:47 UTC
Linux 3.10-rc3
Tip revision: e4aa937
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 + strlen(dest), src);
}
EXPORT_SYMBOL(strcat);
back to top