syscalls.c 342 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2022-11-18 Meco Man first version
  9. */
  10. #include <rtthread.h>
  11. int *__errno_location(void)
  12. {
  13. return _rt_errno();
  14. }
  15. int *___errno_location(void)
  16. {
  17. return _rt_errno();
  18. }