How to destroy _reent structure

Corinna Vinschen vinschen@redhat.com
Wed Apr 24 10:26:00 GMT 2013


On Apr 24 10:04, Sebastian Huber wrote:
> Hello,
> 
> there is _REENT_INIT_PTR() for initialization, but how can I destroy
> a _reent structure.  Is this _wrapup_reent()?

Try _reclaim_reent.  But it's not the same as _REENT_INIT_PTR since
_REENT_INIT_PTR does not allocate any memory.


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat



More information about the Newlib mailing list