+
+/* The stat() routines in NetBSD's C library are compatibility
+ wrappers for some very old version of the stat buffer structure.
+ Programs must be processed by the C toolchain in order to get an
+ up-to-date definition of the stat() routine. These wrappers are
+ used only in sb-posix, as of 2006-10-15. -- RMK */
+int _stat(const char *path, struct stat *sb) {
+ return (stat(path, sb));
+}
+
+int _lstat(const char *path, struct stat *sb) {
+ return (lstat(path, sb));
+}
+
+int _fstat(int fd, struct stat *sb) {
+ return (fstat(fd, sb));
+}
+
+