no prototype for realpath()

Joel Sherrill joel.sherrill@oarcorp.com
Fri Nov 15 18:49:00 GMT 2013


Hi

I noticed realpath() does not have a prototype.

It looks like it should be in stdlib.h and wrapped
by this per Linux:
  _BSD_SOURCE || _XOPEN_SOURCE >= 500 ||
  _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED

(1) Is it OK to add to newlib's stdlib.h?
(2) What guards should I use?

Thanks.

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985



More information about the Newlib mailing list