reent.h 485 B

1234567891011121314151617181920212223
  1. /*
  2. * SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #pragma once
  7. #include_next<sys/reent.h>
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. /* This function is not part of the newlib API, it is defined in libc/stdio/local.h
  12. * There is no nice way to get __cleanup member populated while avoiding __sinit,
  13. * so extern declaration is used here.
  14. */
  15. extern void _cleanup_r(struct _reent* r);
  16. #ifdef __cplusplus
  17. }
  18. #endif