aboutsummaryrefslogtreecommitdiffstats
path: root/ports/linux/pseudo_wrappers.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/linux/pseudo_wrappers.c')
-rw-r--r--ports/linux/pseudo_wrappers.c19
1 files changed, 17 insertions, 2 deletions
diff --git a/ports/linux/pseudo_wrappers.c b/ports/linux/pseudo_wrappers.c
index 7d3fcd5..26b29b0 100644
--- a/ports/linux/pseudo_wrappers.c
+++ b/ports/linux/pseudo_wrappers.c
@@ -1,6 +1,6 @@
-
/* the unix port wants to know that real_stat() and
- * friends exist. So they do.
+ * friends exist. So they do. And because the Linux
+ * port really uses stat64 for those...
*/
int
pseudo_stat(const char *path, struct stat *buf) {
@@ -16,3 +16,18 @@ int
pseudo_fstat(int fd, struct stat *buf) {
return real___fxstat(_STAT_VER, fd, buf);
}
+
+int
+pseudo_stat64(const char *path, struct stat64 *buf) {
+ return real___xstat64(_STAT_VER, path, buf);
+}
+
+int
+pseudo_lstat64(const char *path, struct stat64 *buf) {
+ return real___lxstat64(_STAT_VER, path, buf);
+}
+
+int
+pseudo_fstat64(int fd, struct stat64 *buf) {
+ return real___fxstat64(_STAT_VER, fd, buf);
+}