xref: /rk3399_ARM-atf/include/lib/libc/string_private.h (revision d8fdff38b544b79c4f0b757e3b3c82ce9c8a2f9e)
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