compat__sigfillset14.S compat__sigismember14.S compat__siglongjmp14.S \
compat__sigpending14.S compat__sigprocmask14.S compat__sigsetjmp14.S \
compat__sigsuspend14.S compat__time50.S compat__time2posix50.S \
+ compat__stat50.S compat__fstat50.S compat__lstat50.S \
compat__time2posix_z50.S compat__timegm50.S compat__timelocal50.S \
compat__timelocal_z50.S compat__timeoff50.S compat__tzalloc50.S \
compat__tzfree50.S compat__tzgetname50.S compat__tzset50.S \
#include <sys/stat.h>
#include <string.h>
-
/* XXX until that st_Xtime macroses used, we have to undefine them,
* because of minix_prev_stat
*/
new->st_ctimespec.tv_sec = prev->st_ctime;
}
-int _stat(const char *name, struct stat *buffer);
-
-int _stat(const char *name, struct stat *buffer)
+int stat(const char *name, struct stat *buffer)
{
message m;
int r;
return r;
}
-int _fstat(int fd, struct stat *buffer);
-
-int _fstat(int fd, struct stat *buffer)
+int fstat(int fd, struct stat *buffer)
{
message m;
int r;
return r;
}
-int _lstat(const char *name, struct stat *buffer);
-
-int _lstat(const char *name, struct stat *buffer)
+int lstat(const char *name, struct stat *buffer)
{
message m;
int r;
int chmod(const char *, mode_t);
int mkdir(const char *, mode_t);
int mkfifo(const char *, mode_t);
-int stat(const char *, struct stat *) __RENAME(_stat);
-int fstat(int, struct stat *) __RENAME(_fstat);
-int lstat(const char *, struct stat *) __RENAME(_lstat);
+#ifndef __LIBC12_SOURCE__
+int stat(const char *, struct stat *) __RENAME(__stat50);
+int fstat(int, struct stat *) __RENAME(__fstat50);
+#endif
mode_t umask(mode_t);
#if defined(_XOPEN_SOURCE) || defined(_NETBSD_SOURCE)
int fchmod(int, mode_t);
+#ifndef __LIBC12_SOURCE__
+int lstat(const char *, struct stat *) __RENAME(__lstat50);
int mknod(const char *, mode_t, dev_t) __RENAME(__mknod50);
+#endif
#endif /* defined(_XOPEN_SOURCE) || defined(_NETBSD_SOURCE) */
__END_DECLS