1 /* 2 * Copyright (c) 2025, Arm Limited and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef STRING_PRIVATE_H 8 #define STRING_PRIVATE_H 9 10 /* Do not include outside of the libc. Use string.h instead. */ 11 12 #include <stddef.h> 13 14 void *memcpy(void *dst, const void *src, size_t len); 15 int memcmp(const void *s1, const void *s2, size_t len); 16 int strcmp(const char *s1, const char *s2); 17 int strncmp(const char *s1, const char *s2, size_t n); 18 void *memchr(const void *src, int c, size_t len); 19 char *strchr(const char *s, int c); 20 void *memset(void *dst, int val, size_t count); 21 size_t strlen(const char *s); 22 char *strrchr(const char *p, int ch); 23 24 #endif /* STRING_PRIVATE_H */ 25