1 /*
2  * Copyright (c) 2023 Intel
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef ZEPHYR_LIB_LIBC_ARMSTDC_INCLUDE_STRING_H_
8 #define ZEPHYR_LIB_LIBC_ARMSTDC_INCLUDE_STRING_H_
9 
10 #include <stddef.h>
11 #include <zephyr/toolchain.h>
12 
13 #include_next <string.h>
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 extern size_t strnlen(const char *s, size_t maxlen);
20 
21 #ifdef __cplusplus
22 }
23 #endif
24 
25 #endif  /* ZEPHYR_LIB_LIBC_ARMSTDC_INCLUDE_STRING_H_ */
26