dlerror.c 600 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) 2006-2024 RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2010-11-17 yi.qiu first version
  9. */
  10. #include <rtthread.h>
  11. #include <rtm.h>
  12. /**
  13. * @brief retrieve a string describing the last error that occurred from a dynamic linking operation.
  14. *
  15. * @return const char* a string containing an error message describing the last error.
  16. *
  17. * @note This function is an API of POSIX standard, which is still remaining TBD.
  18. */
  19. const char *dlerror(void)
  20. {
  21. return "TODO";
  22. }
  23. RTM_EXPORT(dlerror)