blob: af1a93195ca9f7f877df579ad293b1ed4e97728d [file] [log] [blame]
Xiaohu.Huang60a7f2f2021-10-25 15:40:57 +08001/*
yang.lib06e0a82022-01-10 17:35:09 +08002 * Copyright (c) 2021-2022 Amlogic, Inc. All rights reserved.
Xiaohu.Huang60a7f2f2021-10-25 15:40:57 +08003 *
yang.lib06e0a82022-01-10 17:35:09 +08004 * SPDX-License-Identifier: MIT
Xiaohu.Huang60a7f2f2021-10-25 15:40:57 +08005 */
6
7#ifndef __AML_STRLEN_H__
8#define __AML_STRLEN_H__
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
Xiaohu.Huang448314d2021-12-31 17:12:48 +080014#if (1 == CONFIG_ARM64)
15#include <sys/types.h>
Xiaohu.Huang60a7f2f2021-10-25 15:40:57 +080016
xiaohu.huang1fd6f112022-05-24 11:02:05 +080017size_t strlen(const char *s);
Xiaohu.Huang448314d2021-12-31 17:12:48 +080018#else
19int strlen(const char *s);
20#endif
Xiaohu.Huang60a7f2f2021-10-25 15:40:57 +080021
22#ifdef __cplusplus
23}
24#endif
25
26#endif