RTEMS prototype for lstat

Joel Sherrill joel.sherrill@OARcorp.com
Tue Dec 14 11:54:00 GMT 1999

This is the last of the modifications I have to the official newlib
1.8.2. :)

RTEMS supports lstat but this is not included in stat.h

diff -uNr
Thu Nov 18 16:34:25 1999
+++ newlib-1.8.2/newlib/libc/include/sys/stat.h Tue Dec 14 13:36:49 1999
@@ -126,6 +126,7 @@

 #if defined(__rtems__)
 int    _EXFUN(mknod,( const char *_path, mode_t _mode, dev_t dev ));
+int    _EXFUN(lstat,( const char *__path, struct stat *__buf ));

 /* Provide prototypes for most of the _<systemcall> names that are

Joel Sherrill, Ph.D.             Director of Research & Development
joel@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