blob: ab7647a3454c7c9a7f3c14cec041b584359eaba1 [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
Boyan Karatotev0d4d4ca2025-04-16 14:57:38 +010014void *memcpy(void *dst, const void *src, size_t len);
Boyan Karatotev7ab30812025-03-17 10:31:03 +000015int memcmp(const void *s1, const void *s2, size_t len);
16int strcmp(const char *s1, const char *s2);
17int strncmp(const char *s1, const char *s2, size_t n);
18void *memchr(const void *src, int c, size_t len);
19char *strchr(const char *s, int c);
20void *memset(void *dst, int val, size_t count);
21size_t strlen(const char *s);
22char *strrchr(const char *p, int ch);
23
24#endif /* STRING_PRIVATE_H */