readlink and symlink prototypes [PATCH]

Shaun Jackman
Thu Nov 3 20:57:00 GMT 2005

2005/11/3, Jeff Johnston <>:
> After thinking about it I realized that my logic above is wrong.  The
> current sys/unistd.h header file has lots of non-generic-newlib
> prototypes already.  Moving these prototypes plus others outside of the
> checks will ultimately make the header file cleaner.
> Patch checked in.
> -- Jeff J.

Thanks, Jeff! I'll start trickling in similar patches to remove the
#if defined(__CYGWIN__) || defined(__rtems__) armour from POSIX and
SUSv3 functions. I'd like to do something similar for BSD and X/Open
functions as well, but they should probably be armoured somehow. I'll
ponder it when I get there.


More information about the Newlib mailing list