summaryrefslogtreecommitdiff
path: root/components/libc/compilers/musl/syscalls.c
blob: 6d412cc0a1df1d2e971fe1cee115a4c0bc056fcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-11-18     Meco Man     first version
 */

#include <rtthread.h>

int *__errno_location(void)
{
    return _rt_errno();
}
int *___errno_location(void)
{
    return _rt_errno();
}