aboutsummaryrefslogtreecommitdiffstats
path: root/ports/linux/guts/open64.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/linux/guts/open64.c')
-rw-r--r--ports/linux/guts/open64.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/ports/linux/guts/open64.c b/ports/linux/guts/open64.c
new file mode 100644
index 0000000..adeb885
--- /dev/null
+++ b/ports/linux/guts/open64.c
@@ -0,0 +1,14 @@
+/*
+ * Copyright (c) 2008-2010 Wind River Systems; see
+ * guts/COPYRIGHT for information.
+ *
+ * static int
+ * wrap_open64(const char *path, int flags, ...mode_t mode) {
+ * int rc = -1;
+ */
+
+ rc = wrap_openat(AT_FDCWD, path, flags, mode | O_LARGEFILE);
+
+/* return rc;
+ * }
+ */