blob: da85faec51cfb27567662b35d22597eb0e559024 [file] [log] [blame]
Boyan Karatotev7ab30812025-03-17 10:31:03 +00001/*
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
14int memcmp(const void *s1, const void *s2, size_t len);
15int strcmp(const char *s1, const char *s2);
16int strncmp(const char *s1, const char *s2, size_t n);
17void *memchr(const void *src, int c, size_t len);
18char *strchr(const char *s, int c);
19void *memset(void *dst, int val, size_t count);
20size_t strlen(const char *s);
21char *strrchr(const char *p, int ch);
22
23#endif /* STRING_PRIVATE_H */