Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
awilliam
GitHub Repository: awilliam/linux-vfio
Path: blob/master/arch/m68k/lib/string.c
10817 views
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
}
16
EXPORT_SYMBOL(strcpy);
17
18
char *strcat(char *dest, const char *src)
19
{
20
return __kernel_strcpy(dest + __kernel_strlen(dest), src);
21
}
22
EXPORT_SYMBOL(strcat);
23
24