27 lines
632 B
C
27 lines
632 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _PA_STRING_H_
|
|
#define _PA_STRING_H_
|
|
|
|
#define __HAVE_ARCH_MEMSET
|
|
extern void * memset(void *, int, size_t);
|
|
|
|
#define __HAVE_ARCH_MEMCPY
|
|
void * memcpy(void * dest,const void *src,size_t count);
|
|
|
|
#define __HAVE_ARCH_STRLEN
|
|
extern size_t strlen(const char *s);
|
|
|
|
#define __HAVE_ARCH_STRCPY
|
|
extern char *strcpy(char *dest, const char *src);
|
|
|
|
#define __HAVE_ARCH_STRNCPY
|
|
extern char *strncpy(char *dest, const char *src, size_t count);
|
|
|
|
#define __HAVE_ARCH_STRCAT
|
|
extern char *strcat(char *dest, const char *src);
|
|
|
|
#define __HAVE_ARCH_MEMSET
|
|
extern void *memset(void *, int, size_t);
|
|
|
|
#endif
|