rt-thread-official/components/libc/posix/libdl/dlerror.c

26 lines
600 B
C
Raw Normal View History

2013-01-08 22:40:58 +08:00
/*
2024-11-12 15:38:28 +08:00
* Copyright (c) 2006-2024 RT-Thread Development Team
2013-01-08 22:40:58 +08:00
*
2018-08-30 20:27:45 +08:00
* SPDX-License-Identifier: Apache-2.0
2021-03-08 18:19:04 +08:00
*
2013-01-08 22:40:58 +08:00
* Change Logs:
2018-08-30 20:27:45 +08:00
* Date Author Notes
* 2010-11-17 yi.qiu first version
2013-01-08 22:40:58 +08:00
*/
#include <rtthread.h>
#include <rtm.h>
2024-11-12 15:38:28 +08:00
/**
* @brief retrieve a string describing the last error that occurred from a dynamic linking operation.
*
* @return const char* a string containing an error message describing the last error.
*
* @note This function is an API of POSIX standard, which is still remaining TBD.
*/
2013-01-08 22:40:58 +08:00
const char *dlerror(void)
{
2021-03-08 18:19:04 +08:00
return "TODO";
2013-01-08 22:40:58 +08:00
}
RTM_EXPORT(dlerror)