mirror of
https://github.com/CTCaer/switch-l4t-atf.git
synced 2024-12-01 05:40:27 +00:00
8bb6de1518
Change-Id: I76091d52571f1950111c4b1670d5fc3883607715 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
18 lines
256 B
C
18 lines
256 B
C
/*
|
|
* Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#include <string.h>
|
|
|
|
size_t strlen(const char *s)
|
|
{
|
|
const char *cursor = s;
|
|
|
|
while (*cursor)
|
|
cursor++;
|
|
|
|
return cursor - s;
|
|
}
|