This is the mail archive of the
newlib@sourceware.cygnus.com
mailing list for the newlib project.
RTEMS prototype for lstat
- To: newlib at sourceware dot cygnus dot com
- Subject: RTEMS prototype for lstat
- From: Joel Sherrill <joel dot sherrill at OARcorp dot com>
- Date: Tue, 14 Dec 1999 13:47:02 -0600
- Organization: OAR Corporation
- Reply-To: joel dot sherrill at OARcorp dot com
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
/usr1/rtems/work/original/newlib-1.8.2/newlib/libc/include/sys/stat.h
newlib-1.8.2/newlib/libc/include/sys/stat.h
---
/usr1/rtems/work/original/newlib-1.8.2/newlib/libc/include/sys/stat.h
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 ));
#endif
/* 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