_lstat_r() declaration missing in rent.h?

Corinna Vinschen vinschen@redhat.com
Tue Feb 7 11:47:00 GMT 2012

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


Corinna Vinschen
Cygwin Project Co-Leader
Red Hat

More information about the Newlib mailing list