[PATCH 08/11] Add stdio atexit handler

Corinna Vinschen vinschen@redhat.com
Wed May 11 15:23:24 GMT 2022


On May 10 10:09, Matthew Joyce wrote:
> From: Matt Joyce <matthew.joyce@embedded-brains.de>
> 
> Add a dedicated stdio atexit handler to avoid using _GLOBAL_REENT in exit().

The idea is ok, I would just prefer to use another name. The reason is
that an unsuspecting user could assume that this function actually gets
added to the atexit functions. What about stdio_exit_handler()?


Corinna



More information about the Newlib mailing list