This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: _lstat_r() declaration missing in rent.h?
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: newlib at sourceware dot org
- Date: Tue, 7 Feb 2012 12:46:44 +0100
- Subject: Re: _lstat_r() declaration missing in rent.h?
- References: <4F30ED7B.2040602@embedded-brains.de>
- Reply-to: newlib at sourceware dot org
On Feb 7 10:23, Sebastian Huber wrote:
> Hello,
>
> there are some function declarations for reentrant counterparts of C
> library functions in "libc/include/reent.h", e.g. _stat_r(). A
> declaration for _lstat_r() is missing. Is this intentional?
_stat_r and _fstat_r are used inside of newlib. _lstat_r isn't. If you
want to provide this functionality, you can add this in a target-specifc
way.
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat