162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci#ifndef _PPC_BOOT_STRING_H_ 362306a36Sopenharmony_ci#define _PPC_BOOT_STRING_H_ 462306a36Sopenharmony_ci#include <stddef.h> 562306a36Sopenharmony_ci 662306a36Sopenharmony_ciextern char *strcpy(char *dest, const char *src); 762306a36Sopenharmony_ciextern char *strncpy(char *dest, const char *src, size_t n); 862306a36Sopenharmony_ciextern char *strcat(char *dest, const char *src); 962306a36Sopenharmony_ciextern char *strchr(const char *s, int c); 1062306a36Sopenharmony_ciextern char *strrchr(const char *s, int c); 1162306a36Sopenharmony_ciextern int strcmp(const char *s1, const char *s2); 1262306a36Sopenharmony_ciextern int strncmp(const char *s1, const char *s2, size_t n); 1362306a36Sopenharmony_ciextern size_t strlen(const char *s); 1462306a36Sopenharmony_ciextern size_t strnlen(const char *s, size_t count); 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ciextern void *memset(void *s, int c, size_t n); 1762306a36Sopenharmony_ciextern void *memmove(void *dest, const void *src, unsigned long n); 1862306a36Sopenharmony_ciextern void *memcpy(void *dest, const void *src, unsigned long n); 1962306a36Sopenharmony_ciextern void *memchr(const void *s, int c, size_t n); 2062306a36Sopenharmony_ciextern int memcmp(const void *s1, const void *s2, size_t n); 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci#endif /* _PPC_BOOT_STRING_H_ */ 23