xref: /openbmc/linux/arch/parisc/include/asm/string.h (revision 55fd7e02)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _PA_STRING_H_
3 #define _PA_STRING_H_
4 
5 #define __HAVE_ARCH_MEMSET
6 extern void * memset(void *, int, size_t);
7 
8 #define __HAVE_ARCH_MEMCPY
9 void * memcpy(void * dest,const void *src,size_t count);
10 
11 #define __HAVE_ARCH_STRLEN
12 extern size_t strlen(const char *s);
13 
14 #define __HAVE_ARCH_STRCPY
15 extern char *strcpy(char *dest, const char *src);
16 
17 #define __HAVE_ARCH_STRNCPY
18 extern char *strncpy(char *dest, const char *src, size_t count);
19 
20 #define __HAVE_ARCH_STRCAT
21 extern char *strcat(char *dest, const char *src);
22 
23 #define __HAVE_ARCH_MEMSET
24 extern void *memset(void *, int, size_t);
25 
26 #endif
27