This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: How to destroy _reent structure
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: newlib at sourceware dot org
- Date: Wed, 24 Apr 2013 12:26:04 +0200
- Subject: Re: How to destroy _reent structure
- References: <5177920B dot 4040100 at embedded-brains dot de>
- Reply-to: newlib at sourceware dot org
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