_POSIX_SOURCE

Shaun Jackman sjackman@gmail.com
Tue Mar 21 01:28:00 GMT 2006


2006-03-20  Shaun Jackman  <sjackman@gmail.com>

	* libc/sys/linux/sys/stat.h (lstat): New declaration.
	(mknod): Ditto.

Index: ./libc/sys/linux/sys/stat.h
===================================================================
RCS file: /cvs/src/src/newlib/libc/sys/linux/sys/stat.h,v
retrieving revision 1.5
diff -u -r1.5 stat.h
--- ./libc/sys/linux/sys/stat.h	16 Dec 2005 19:11:10 -0000	1.5
+++ ./libc/sys/linux/sys/stat.h	21 Mar 2006 00:41:43 -0000
@@ -18,14 +18,15 @@


 int     _EXFUN(fstat,( int __fd, struct stat *__sbuf ));
+int     _EXFUN(lstat,( const char *__path, struct stat *__sbuf ));
 int     _EXFUN(mkdir,( const char *_path, mode_t __mode ));
 int     _EXFUN(mkfifo,( const char *__path, mode_t __mode ));
+int     _EXFUN(mknod, ( const char *path, mode_t mode, dev_t dev));
 int     _EXFUN(stat,( const char *__path, struct stat *__sbuf ));
 mode_t  _EXFUN(umask,( mode_t __mask ));

 #ifndef _POSIX_SOURCE
 int     _EXFUN(fstat64,( int __fd, struct stat64 *__sbuf ));
-int	_EXFUN(lstat,( const char *file_name, struct stat64 *buf));
 int	_EXFUN(lstat64,( const char *file_name, struct stat64 *buf));
 int     _EXFUN(stat64,( const char *__path, struct stat64 *__sbuf ));
 #endif /* _POSIX_SOURCE */


More information about the Newlib mailing list